[Bug 530313] New: sane-backends-1.0.20-3.5: missing call to closedir
http://bugzilla.novell.com/show_bug.cgi?id=530313 Summary: sane-backends-1.0.20-3.5: 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 sane-backends-1.0.20-3.5 For source code file sane-backends-1.0.20/tools/sane-desc.c around line 800 is the source code for the function read_files. I notice the following line of code if ((dir = opendir (search_dir)) == 0) but I fail to notice a matching 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=530313
Johannes Meixner
http://bugzilla.novell.com/show_bug.cgi?id=530313
Johannes Meixner
http://bugzilla.novell.com/show_bug.cgi?id=530313
User jsmeix@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=530313#c1
--- Comment #1 from Johannes Meixner
http://bugzilla.novell.com/show_bug.cgi?id=530313
User jsmeix@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=530313#c2
--- Comment #2 from Johannes Meixner
http://bugzilla.novell.com/show_bug.cgi?id=530313
User jsmeix@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=530313#c3
Johannes Meixner
http://bugzilla.novell.com/show_bug.cgi?id=530313
http://bugzilla.novell.com/show_bug.cgi?id=530313#c4
--- Comment #4 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com