[Bug 530325] New: sblim-cmpi-base-1.5.9-3.8: missing call to fclose
http://bugzilla.novell.com/show_bug.cgi?id=530325 Summary: sblim-cmpi-base-1.5.9-3.8: missing call to fclose 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 sblim-cmpi-base-1.5.9-3.8 For source code file sblim-cmpi-base-1.5.9/OSBase_OperatingSystemStatisticalData.c around line 160 is the source code for the function get_cpu_page_data_24. I notice the following line of code if ((f = fopen(DATA_FILE,"r")) != NULL) { but I fail to notice a matching call to fclose This looks like a resource leak to me. Suggest add 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.
http://bugzilla.novell.com/show_bug.cgi?id=530325 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |mhrusecky@novell.com |ovo.novell.com | -- 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=530325 User mhrusecky@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=530325#c1 Michal Hrusecky <mhrusecky@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Michal Hrusecky <mhrusecky@novell.com> 2009-08-24 10:12:46 MDT --- Thank you for your bugreport, fix is on its way to the Factory. -- 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=530325 http://bugzilla.novell.com/show_bug.cgi?id=530325#c2 --- Comment #2 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (530325) was mentioned in https://build.opensuse.org/request/show/18581 Factory / sblim-cmpi-base -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com