http://bugzilla.novell.com/show_bug.cgi?id=527506 Summary: libsatsolver-0.14.3-1.2: resource leak in loop 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 libsatsolver-0.14.3-1.2 For source code file satsolver-0.14.3/ext/repo_releasefile_products.c around line 130 is the source code for the function repo_add_releasefile_products. I notice the following line of code if ((fp = fopen(fullpath, "r")) == 0) but I fail to find a matching call to fclose. This seems to be a resource leak for each file in the directory. Suggest code rework, possibly by adding call to fclose. -- 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.