[Bug 530994] New: transmission-1.73-1.3: missing call to close
http://bugzilla.novell.com/show_bug.cgi?id=530994 Summary: transmission-1.73-1.3: missing call to close 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 transmission-1.73-1.3 For source code file transmission-1.73/libtransmission/platform.c around line 690 is the source code for the function tr_lockfile. I notice the following line of code int fd = open( filename, O_RDWR | O_CREAT, 0666 ); but I fail to notice a matching call to close. This looks like a resource leak to me. Suggest add call to close. -- 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=530994
Dominique Leuenberger
http://bugzilla.novell.com/show_bug.cgi?id=530994
User charles@transmissionbt.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=530994#c1
--- Comment #1 from Charles Kerr
http://bugzilla.novell.com/show_bug.cgi?id=530994
User charles@transmissionbt.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=530994#c2
Charles Kerr
participants (1)
-
bugzilla_noreply@novell.com