projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0428c97
)
- fix file descriptor leak
author
Michael Schroeder
<mls@suse.de>
Wed, 20 Feb 2008 13:49:53 +0000
(13:49 +0000)
committer
Michael Schroeder
<mls@suse.de>
Wed, 20 Feb 2008 13:49:53 +0000
(13:49 +0000)
src/repo_solv.c
patch
|
blob
|
history
diff --git
a/src/repo_solv.c
b/src/repo_solv.c
index
909b4dd
..
2fafd52
100644
(file)
--- a/
src/repo_solv.c
+++ b/
src/repo_solv.c
@@
-1417,7
+1417,6
@@
repodata_load_solv(Repodata *data)
return;
}
fp = pool->loadcallback(pool, data, pool->loadcallbackdata);
-
if (!fp)
{
data->state = REPODATA_ERROR;
@@
-1427,4
+1426,5
@@
repodata_load_solv(Repodata *data)
data->state = REPODATA_ERROR;
else
data->state = REPODATA_AVAILABLE;
+ fclose(fp);
}