[Bug 525317] New: giflib-4.1.6-11.4: 2 * memory leak
http://bugzilla.novell.com/show_bug.cgi?id=525317 Summary: giflib-4.1.6-11.4: 2 * memory leak Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: openSUSE 11.1 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 had a look at factory package giflib-4.1.6-11.46 For source code file giflib-4.1.6/util/gif2epsn.c around line 380 is the source code for the function DumpScreen2Epsn. I notice the following code if ((EpsonBuffer = (GifByteType *) malloc(ScreenWidth)) == NULL) but no corresponding calls to free. This looks like a memory leak to me. Suggest add calls to free to close the leak. Similar problems with local variable DitherBuffer in the same function. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=525317 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |nadvornik@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=525317 User dcb314@hotmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=525317#c1 David Binderman <dcb314@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium --- Comment #1 from David Binderman <dcb314@hotmail.com> 2009-09-14 03:01:58 MDT --- (In reply to comment #0)
I just had a look at factory package giflib-4.1.6-11.46
Still broken well over a month later. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=525317 User rguenther@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=525317#c2 --- Comment #2 from Richard Guenther <rguenther@novell.com> 2009-10-17 08:54:45 MDT --- David, in case the issues are not introduced by a patch local to openSUSE please report the issues upstream. Packagers, please do not add openSUSE-local patches to fix this kind of errors but forward the bugs upstream and close the bugs as RESOLVED UPSTREAM. Note that it is perfectly fine to have "resource leaks" at the end of a program as the kernel will clean up for you. Manually freeing them only increases binary size and runtime. -- Configure bugmail: http://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