summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2012-04-13 15:26:40 +0200
committerMichael Schroeder <mls@suse.de>2012-04-13 15:26:40 +0200
commit3b3dc28e45a72600285d3d221ada088acb6d6df0 (patch)
tree80719ae783656d7ca1a9d46b7e7fc71fd94c8739 /tools
parenta70afe41f3940323e680b06da9744624dd94f214 (diff)
downloadlibsolv-3b3dc28e45a72600285d3d221ada088acb6d6df0.tar.gz
libsolv-3b3dc28e45a72600285d3d221ada088acb6d6df0.tar.bz2
libsolv-3b3dc28e45a72600285d3d221ada088acb6d6df0.zip
- fix fd leak in testsolv
Diffstat (limited to 'tools')
-rw-r--r--tools/testsolv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testsolv.c b/tools/testsolv.c
index b9e8919..47fe785 100644
--- a/tools/testsolv.c
+++ b/tools/testsolv.c
@@ -150,6 +150,7 @@ main(int argc, char **argv)
solver_free(solv);
}
pool_free(pool);
+ fclose(fp);
}
exit(ex);
}