[Bug 523789] New: cfengine-2.2.8-5.8: possible memory leak
http://bugzilla.novell.com/show_bug.cgi?id=523789 Summary: cfengine-2.2.8-5.8: possible 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 cfengine-2.2.8-5.8 For source code file cfengine-2.2.8/src/cfenvgraph.c, around line 769 is the source code for the function DiskArrivals. I notice the following code if ((array = (double *)malloc((int)CF_WEEK)) == NULL) but no matching call to free. 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=523789
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=523789
Anna Bernathova
http://bugzilla.novell.com/show_bug.cgi?id=523789
User anicka@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=523789#c1
Anna Bernathova
http://bugzilla.novell.com/show_bug.cgi?id=523789
http://bugzilla.novell.com/show_bug.cgi?id=523789#c2
--- Comment #2 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com