[Bug 531678] New: webalizer-2.21-2.11: missing call to fclose
http://bugzilla.novell.com/show_bug.cgi?id=531678 Summary: webalizer-2.21-2.11: 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 webalizer-2.21-2.11 For source code file webalizer-2.21-02/wcmgr.c around line 810 is the source code for the function import_cache. I notice the following line of code in_fp=fopen(out_file,"r"); but I fail to notice a matching call to fclose. This looks like a resource leak to me. Suggest add a 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=531678
shuang qiu
http://bugzilla.novell.com/show_bug.cgi?id=531678
Anna Bernathova
http://bugzilla.novell.com/show_bug.cgi?id=531678
User anicka@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=531678#c1
Anna Bernathova
http://bugzilla.novell.com/show_bug.cgi?id=531678
http://bugzilla.novell.com/show_bug.cgi?id=531678#c2
--- Comment #2 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com