diff options
author | Michael Schroeder <mls@suse.de> | 2012-06-27 14:48:52 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2012-06-27 14:48:52 +0200 |
commit | 1617994aa84b67f2147264a50f8aebb150ddc8d1 (patch) | |
tree | 4af13ad336d64107312a0052fff792fe45b0ed6b /tools/cudftest.c | |
parent | 966d89beb22ef2eecea8545369bcf07faf7d4d0f (diff) | |
download | libsolv-1617994aa84b67f2147264a50f8aebb150ddc8d1.tar.gz libsolv-1617994aa84b67f2147264a50f8aebb150ddc8d1.tar.bz2 libsolv-1617994aa84b67f2147264a50f8aebb150ddc8d1.zip |
- close file handle after reading in cudf fileBASE-SuSE-Code-12_2-Branch
Diffstat (limited to 'tools/cudftest.c')
-rw-r--r-- | tools/cudftest.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/cudftest.c b/tools/cudftest.c index 227ae0b..75aeef5 100644 --- a/tools/cudftest.c +++ b/tools/cudftest.c @@ -87,6 +87,8 @@ main(int argc, char **argv) repo = repo_create(pool, "repo"); queue_init(&job); repo_add_cudf(repo, installed, fp, &job, 0); + fclose(fp); + pool_createwhatprovides(pool); /* debug */ |