diff options
Diffstat (limited to 'src/opk')
-rw-r--r-- | src/opk/read.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/opk/read.c b/src/opk/read.c index 0a7f3c1..e0f3af4 100644 --- a/src/opk/read.c +++ b/src/opk/read.c @@ -236,6 +236,7 @@ _opkg_opk_opk_read_control(struct opkg_opk_opk *opk) _opkg_opk_opk_read_free_inner(opk); if (opk->control_dir != NULL) { free(path); + fclose(fp); } return OPKG_OPK_ERROR; } |