http://bugzilla.novell.com/show_bug.cgi?id=531682 Summary: WindowMaker-0.92.0-207.13: 2 * 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 WindowMaker-0.92.0-207.13 For source code file WindowMaker-0.92.0/WINGs/wcolorpanel.c around line 3650 is the source code for the function fetchFile. I notice the following lines of code if ((src = open(srcFile, O_RDONLY|O_BINARY)) == 0) { and if ((dest = open( tmp, O_RDWR|O_CREAT|O_BINARY, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH)) but I fail to notice any matching call to close. This looks like a double resource leak to me. Suggest add two calls 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.