[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
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
http://bugzilla.novell.com/show_bug.cgi?id=537485
http://bugzilla.novell.com/show_bug.cgi?id=537485#c2
--- Comment #2 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com