[Bug 544707] New: scim-input-pad-0.1.1-273.8: missing call to fclose
http://bugzilla.novell.com/show_bug.cgi?id=544707 Summary: scim-input-pad-0.1.1-273.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 scim-input-pad-0.1.1-273.8 source code file scim-input-pad-0.1.1/src/scim_input_group.cpp function load_input_group_file local variable fp I notice the following code FILE *fp = fopen (file_name.c_str (), "rb"); but I fail to notice any matching calls to fclose. This looks like a resource leak to me. Suggest add call to fclose near the end of the function to plug the leak. -- 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=544707
User meissner@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=544707#c1
--- Comment #1 from Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=544707
User rguenther@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=544707#c2
--- Comment #2 from Richard Guenther
http://bugzilla.novell.com/show_bug.cgi?id=544707
zhu rensheng
http://bugzilla.novell.com/show_bug.cgi?id=544707
Michael Schröder
http://bugzilla.novell.com/show_bug.cgi?id=544707
User tiwai@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=544707#c3
Takashi Iwai
participants (1)
-
bugzilla_noreply@novell.com