[Bug 537485] New: argus-client-3.0.0-5.1: five memory leaks
http://bugzilla.novell.com/show_bug.cgi?id=537485 Summary: argus-client-3.0.0-5.1: five memory leaks 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 argus-client-3.0.0-5.1 For source code file argus-clients-3.0.0/common/argus_client.c function ArgusParseAggregator, the local variable name is used as follows name = strdup(&str[strlen(RA_MODELNAMETAGSTR)]); and if (name) agg->name = strdup(name); so there is a double copy of name. This looks like a memory leak to me. Suggest either change the double copy to single copy or free up the intermediate copy. Something similar seems to happen for local variables pres, preport, correct and histo. -- 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=537485 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |mseben@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=537485 User mseben@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=537485#c1 Michal Seben <mseben@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |FIXED --- Comment #1 from Michal Seben <mseben@novell.com> 2009-09-22 00:07:37 MDT --- fix moved to factory ( will be available in 11.2 ) -- 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=537485 http://bugzilla.novell.com/show_bug.cgi?id=537485#c2 --- Comment #2 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (537485) was mentioned in https://build.opensuse.org/request/show/20602 Factory / argus-client -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com