Bugzilla – Bug 443366
celestia-1.5.1-1.77: 3 * call to wrong C++ delete
Last modified: 2008-11-11 12:51:37 UTC
I just checked some of the source code in the Suse Linux factory package celestia-1.5.1-1.77 and I noticed the following $ egrep "new|delete" ../BUILD/celestia-1.5.1/src/celengine/modelfile.cpp | fgrep indices uint32* indices = new uint32[indexCount]; delete indices; delete indices; uint32* indices = new uint32[indexCount]; delete indices; The deletes look wrong. Maybe delete [] indices; indices = NULL; would be better.
*** This bug has been marked as a duplicate of bug 442933 ***