[Bug 545280] New: xmlstarlet-1.0.1-152.2: missing call to fclose
http://bugzilla.novell.com/show_bug.cgi?id=545280 Summary: xmlstarlet-1.0.1-152.2: 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 xmlstarlet-1.0.1-152.2 source code file xmlstarlet-1.0.1/src/xml_depyx.c function pyxDePyx local variable is in. I notice the following code in = fopen(file, "r"); but I fail to notice any call to fclose. This looks like a resource leak to me. Suggest add call to fclose near the end of the routine. } fclose( in); return 0; } -- 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=545280 zhu rensheng <rszhu@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rszhu@novell.com AssignedTo|bnc-team-screening@forge.pr |thomas.schraitle@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=545280 User thomas.schraitle@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=545280#c1 Thomas Schraitle <thomas.schraitle@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Thomas Schraitle <thomas.schraitle@novell.com> 2009-10-16 08:37:27 MDT --- Thanks for the report, that sounds reasonable. :) I've fixed it in my repository, find the latest version in home:thomas-schraitle/xmlstarlet -- 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=545280 Thomas Schraitle <thomas.schraitle@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED -- 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=545280 http://bugzilla.novell.com/show_bug.cgi?id=545280#c2 --- Comment #2 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (545280) was mentioned in https://build.opensuse.org/request/show/22663 Factory / xmlstarlet -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com