From: Michael Schroeder Date: Wed, 27 Jun 2012 12:48:52 +0000 (+0200) Subject: - close file handle after reading in cudf file X-Git-Tag: BASE-SuSE-Code-12_2-Branch X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1617994aa84b67f2147264a50f8aebb150ddc8d1;p=thirdparty%2Flibsolv.git - close file handle after reading in cudf file --- diff --git a/tools/cudftest.c b/tools/cudftest.c index 227ae0b3..75aeef51 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 */