implement pool_set_rootdir/REPO_USE_ROOTDIR instead of passing a rootdir to various...
[platform/upstream/libsolv.git] / tools / cudftest.c
index 227ae0b..75aeef5 100644 (file)
@@ -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 */