[Bug 544582] New: pilot-link-0.12.3-4.3: missing call to fclose
http://bugzilla.novell.com/show_bug.cgi?id=544582 Summary: pilot-link-0.12.3-4.3: 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 pilot-link-0.12.3-4.3 source code file pilot-link-0.12.3/src/pilot-install-todo.c function read_file local variable f. I notice the following code f = fopen(filename, "r"); but I fail to notice any matching calls to fclose. This looks like a resource leak to me. Suggest add call to fclose near the end of the function to plug the leak. -- 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=544582
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=544582
Michal Hrusecky
http://bugzilla.novell.com/show_bug.cgi?id=544582
User rschweikert@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=544582#c1
Robert Schweikert
http://bugzilla.novell.com/show_bug.cgi?id=544582
User mhrusecky@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=544582#c2
Michal Hrusecky
http://bugzilla.novell.com/show_bug.cgi?id=544582
http://bugzilla.novell.com/show_bug.cgi?id=544582#c3
--- Comment #3 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com