[Bug 532258] New: xawtv-3.95-208.9: missing call to fclose
http://bugzilla.novell.com/show_bug.cgi?id=532258 Summary: xawtv-3.95-208.9: 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: X11 Applications 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 xawtv-3.95-208.9 For source code file xawtv-3.95/console/fbtools.c around line 190 is the source code for the function fb_setmode. I notice the following line of code if (NULL == (fp = fopen("/etc/fb.modes","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=532258
shuang qiu
http://bugzilla.novell.com/show_bug.cgi?id=532258
User mmarek@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=532258#c1
Michal Marek
participants (1)
-
bugzilla_noreply@novell.com