Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
pilot-link
pilot-link-0.12.3-fclose_after_read.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pilot-link-0.12.3-fclose_after_read.patch of Package pilot-link
Index: src/pilot-install-todo.c =================================================================== --- src/pilot-install-todo.c.orig +++ src/pilot-install-todo.c @@ -73,10 +73,12 @@ int read_file(char *filename, char **tex *text = (char *) malloc(filelen + 1); if (*text == NULL) { fprintf(stderr," ERROR: Could not allocate memory.\n"); + fclose(f); return -1; } fread(*text, filelen, 1, f); + fclose(f); return 0; }
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