[Bug 536196] New: pcp-2.5.0-129.16: missing call to fclose
http://bugzilla.novell.com/show_bug.cgi?id=536196 Summary: pcp-2.5.0-129.16: missing call to fclose 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 pcp-2.5.0-129.16 For source code file pcp-2.5.0/src/pmdas/trace/app2.c around line 150, function io_sucker is the following code if ((foo = fopen("/dev/null", "rw")) == NULL) { but I fail to find a matching call to fclose. This looks like a resource leak to me. Suggest add call to fclose. -- 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=536196
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=536196
User rguenther@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=536196#c1
--- Comment #1 from Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=536196
https://bugzilla.novell.com/show_bug.cgi?id=536196#c2
Raymund Will
participants (1)
-
bugzilla_noreply@novell.com