[Bug 443368] New: clanlib-0.8.1-73.17: call to wrong C++ delete

https://bugzilla.novell.com/show_bug.cgi?id=443368 Summary: clanlib-0.8.1-73.17: 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 clanlib-0.8.1-73.17 and I noticed the following $ egrep "new|delete" ./BUILD/ClanLib-0.8.1/Sources/Display/Collision/outline_provider_bitmap_generic.cpp | fgrep data data = new unsigned char[(height+1)*(width+1)]; delete data; The delete looks wrong. Maybe delete [] data; data = NULL; would be better. -- 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=443368 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |prusnak@novell.com -- 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=443368 User prusnak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=443368#c1 Pavol Rusnak <prusnak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Pavol Rusnak <prusnak@novell.com> 2008-11-10 07:38:12 MST --- Reported upstream - http://www.rtsoft.com/forums/showthread.php?p=9146 Fixed in Factory. Thanks -- 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.
participants (1)
-
bugzilla_noreply@novell.com