[Bug 525327] New: gok-2.27.2-1.6: 2 * memory leak
http://bugzilla.novell.com/show_bug.cgi?id=525327 Summary: gok-2.27.2-1.6: 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 gok-2.27.2-1.6 For source code file gok-2.27.2/gok/gok-scanner.c around line 1320 is the source code for the function gok_scanner_read_effects. I notice the following lines of code Param1 = g_strdup ((gchar *)pStringAttributeValue); and Param2 = g_strdup ((gchar *)pStringAttributeValue); but no corresponding calls to any functions to free this memory. This looks like a memory leak to me. Suggest code rework. -- 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=525327 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |bnc-team-gnome@forge.provo. |ovo.novell.com |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=525327 User rguenther@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=525327#c1 --- Comment #1 from Richard Guenther <rguenther@novell.com> 2009-10-17 08:54:46 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