summaryrefslogtreecommitdiff
path: root/src/io.c
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-01-06 19:59:50 +0200
committerTimo Teras <timo.teras@iki.fi>2009-01-06 21:23:26 +0200
commit5e2aca267883a03dae8193eda9328a48b187fe84 (patch)
treef3c20ca4f242c3acd672adbe20d010e3a2763853 /src/io.c
parent6b2b9d303e61599d566a70b6e3100b9afe400d4b (diff)
downloadapk-tools-5e2aca267883a03dae8193eda9328a48b187fe84.tar.gz
apk-tools-5e2aca267883a03dae8193eda9328a48b187fe84.tar.bz2
apk-tools-5e2aca267883a03dae8193eda9328a48b187fe84.tar.xz
apk-tools-5e2aca267883a03dae8193eda9328a48b187fe84.zip
io: fix some memory leaks
Diffstat (limited to 'src/io.c')
-rw-r--r--src/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io.c b/src/io.c
index 78452a9..2c94886 100644
--- a/src/io.c
+++ b/src/io.c
@@ -389,7 +389,7 @@ int apk_file_get_info(const char *filename, struct apk_file_info *fi)
struct apk_istream *apk_istream_from_file_gz(const char *file)
{
- return apk_bstream_gunzip(apk_bstream_from_file(file));
+ return apk_bstream_gunzip(apk_bstream_from_file(file), TRUE);
}
struct apk_fd_ostream {