Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
gnuchess
gnuchess-5.07-fix-missing-fclose.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnuchess-5.07-fix-missing-fclose.patch of Package gnuchess
Index: src/book.c =================================================================== --- src/book.c.orig +++ src/book.c @@ -343,9 +343,11 @@ int BookBuilderOpen(void) } digest_bits = MAX_DIGEST_BITS; /* We use read_book() here only to allocate memory */ - if (read_book(wfp) == BOOK_ENOMEM) { + if (read_book(rfp) == BOOK_ENOMEM) { + fclose(rfp); return BOOK_ENOMEM; } + fclose(rfp); } return BOOK_SUCCESS; }
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