[Bug 525022] New: fontforge-20080429-41.24: missing call to closedir
http://bugzilla.novell.com/show_bug.cgi?id=525022 Summary: fontforge-20080429-41.24: 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: Printing AssignedTo: jsmeix@novell.com ReportedBy: dcb314@hotmail.com QAContact: jsmeix@novell.com Found By: --- I just had a look at factory package fontforge-20080429-41.24 For source code file fontforge-20080429/fontforge/cvimages.c around line 1000 is the source code for the function FVImportImageTemplate. I notice the following code if ( (dir = opendir(dirname))==NULL ) { but no corresponding matching call to closedir. This looks like a resource leak to me. Suggest add call to closedir to close the leak. -- 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=525022
User jsmeix@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=525022#c1
Johannes Meixner
http://bugzilla.novell.com/show_bug.cgi?id=525022
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=525022
User tiwai@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=525022#c2
Takashi Iwai
participants (1)
-
bugzilla_noreply@novell.com