[Bug 530504] New: srptools-0.0.4-7.14: missing call to fclose
http://bugzilla.novell.com/show_bug.cgi?id=530504 Summary: srptools-0.0.4-7.14: 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 srptools-0.0.4-7.14 For source code file srptools-0.0.4/srp_daemon/srp_daemon.c around line 1040 is the source code for the function get_rules_file. I notice the following line of code FILE *infile=fopen(conf->rules_file, "r"); but I fail to notice 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=530504
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=530504
User rguenther@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=530504#c1
--- Comment #1 from Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=530504
https://bugzilla.novell.com/show_bug.cgi?id=530504#c
John Jolly
https://bugzilla.novell.com/show_bug.cgi?id=530504
https://bugzilla.novell.com/show_bug.cgi?id=530504#c2
Philipp Thomas
participants (1)
-
bugzilla_noreply@novell.com