[Bug 525390] New: hatari-0.50-247.51: missing call to closedir
http://bugzilla.novell.com/show_bug.cgi?id=525390 Summary: hatari-0.50-247.51: missing call to closedir 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 hatari-0.50-247.51 For source code file hatari-0.50/src/screenSnapShot.c around line 50 is the source code for the function ScreenSnapShot_GetNum. I notice the following line of code DIR *workingdir = opendir(szWorkingDir); but no corresponding call to closedir. This looks like a resource leak to me. Suggest add call to closedir. -- 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=525390
Dirk Mueller
http://bugzilla.novell.com/show_bug.cgi?id=525390
User rguenther@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=525390#c1
--- Comment #1 from Richard Guenther
http://bugzilla.novell.com/show_bug.cgi?id=525390
User prusnak@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=525390#c2
Pavol Rusnak
participants (1)
-
bugzilla_noreply@novell.com