[Bug 442852] New: bzflag-2.0.12-1.18: call to wrong C++ delete
https://bugzilla.novell.com/show_bug.cgi?id=442852 Summary: bzflag-2.0.12-1.18: call to wrong C++ delete Product: openSUSE 11.1 Version: Factory Platform: All OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: --- I just checked some of the source code in the Suse Linux factory package bzflag-2.0.12-1.18 and I noticed the following $ fgrep buffer ../BUILD/bzflag-2.0.12/src/platform/MacOSX/MacMedia.cxx| egrep "new|delete" buffer = new SInt16 [BUFFER_SIZE]; delete buffer; The first line doesn't match up with the second line. Suggest the second line needs to be delete [] buffer; to match up with the first line. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=442852
Andreas Jaeger
participants (1)
-
bugzilla_noreply@novell.com