[Bug 547908] New: mdadm-3.0.2-1.1: memory leak
http://bugzilla.novell.com/show_bug.cgi?id=547908 Summary: mdadm-3.0.2-1.1: memory leak Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: openSUSE 11.2 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 mdadm-3.0.2-1.1 source code file mdadm-3.0.2/Manage.c function Manage_subdevs I notice the following code char *used = malloc(array.raid_disks); but I fail to notice any matching call to free. This looks like a memory leak to me. Suggest add call to free near the end of the block. -- 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=547908
Andreas Jaeger
http://bugzilla.novell.com/show_bug.cgi?id=547908
User rguenther@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=547908#c1
--- Comment #1 from Richard Guenther
http://bugzilla.novell.com/show_bug.cgi?id=547908
User michal@markovi.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=547908#c2
Michal Marek
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.
Upstream is Neil in this case :-). -- 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=547908
User nfbrown@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=547908#c3
Neil Brown
participants (1)
-
bugzilla_noreply@novell.com