[Bug 535864] New: nh2ps-2.3.1-654.6: missing call to fclose
http://bugzilla.novell.com/show_bug.cgi?id=535864 Summary: nh2ps-2.3.1-654.6: 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: Printing AssignedTo: jsmeix@novell.com ReportedBy: dcb314@hotmail.com QAContact: jsmeix@novell.com Found By: --- I just had a look at factory package nh2ps-2.3.1-654.6 For source code file nh2ps-2.3.1/nh2ps.c around line 2010, function print_prologue is the following code else if ((f = fopen(prologue, "r")) != 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=535864
User jsmeix@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=535864#c1
Johannes Meixner
http://bugzilla.novell.com/show_bug.cgi?id=535864
zhu rensheng
http://bugzilla.novell.com/show_bug.cgi?id=535864
zhu rensheng
http://bugzilla.novell.com/show_bug.cgi?id=535864
User rguenther@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=535864#c4
--- Comment #4 from Richard Guenther
http://bugzilla.novell.com/show_bug.cgi?id=535864
http://bugzilla.novell.com/show_bug.cgi?id=535864#c5
Ruediger Oertel
participants (1)
-
bugzilla_noreply@novell.com