Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
scim-input-pad
scim-input-pad-missing-fclose.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File scim-input-pad-missing-fclose.diff of Package scim-input-pad
--- src/scim_input_group.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- a/src/scim_input_group.cpp +++ b/src/scim_input_group.cpp @@ -284,8 +284,10 @@ if (!fp) return 0; if (get_line (fp) != String (scim_input_pad_header) || - get_line (fp) != String (scim_input_pad_version)) + get_line (fp) != String (scim_input_pad_version)) { + fclose(fp); return 0; + } while (!feof (fp)) { if (get_line (fp) == String ("BEGIN_GROUP")) { @@ -295,6 +297,7 @@ } } } + fclose(fp); return groups.size (); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor