Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
at
at-3.1.8-leak-fix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File at-3.1.8-leak-fix.patch of Package at
--- at.c.orig +++ at.c @@ -600,6 +600,9 @@ list_jobs(long *joblist, int len) else printf("%ld\t%s %c\n", jobno, timestr, queue); } + + closedir(spool); + PRIV_END } @@ -676,6 +679,11 @@ process_jobs(int argc, char **argv, int while ((ch = getc(fp)) != EOF) { putchar(ch); } + PRIV_START + if (fp!=NULL) { + fclose(fp); + } + PRIV_END } break; @@ -687,7 +695,13 @@ process_jobs(int argc, char **argv, int } } } - } + } + + PRIV_START + if (spool!=NULL) { + closedir(spool); + } + PRIV_END } /* delete_jobs */ #define ATOI2(ar) ((ar)[0] - '0') * 10 + ((ar)[1] - '0'); (ar) += 2;
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