[Bug 544221] New: libmsn-3.9.97-1.1: two missing calls to fclose
http://bugzilla.novell.com/show_bug.cgi?id=544221 Summary: libmsn-3.9.97-1.1: two missing calls 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 libmsn-3.9.97-1.1 source code file libmsn-4.0-beta8/msn/util.cpp function libmsn_Siren7_DecodeVoiceClip local variable input. 1. I notice the following code input = fopen (old_voice.c_str(), "rb"); but I fail to notice any matching call to fclose. This looks like a resource leak to me. Suggest add a call to fclose near the end of the function to plug the leak. 2. Same package, same source code file, function libmsn_Siren7_EncodeVoiceClip, local variable input, same problem. -- 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=544221
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=544221
Stephan Binner
http://bugzilla.novell.com/show_bug.cgi?id=544221
User rguenther@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=544221#c1
--- Comment #1 from Richard Guenther
http://bugzilla.novell.com/show_bug.cgi?id=544221
User llunak@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=544221#c2
Lubos Lunak
participants (1)
-
bugzilla_noreply@novell.com