summaryrefslogtreecommitdiff
path: root/dpkg-split
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2010-05-19 06:04:12 +0200
committerGuillem Jover <guillem@debian.org>2010-05-19 08:34:02 +0200
commit28caaffea717f5f827972c0d6d54f1750118bd82 (patch)
tree05032dc2e02c894eca0aa334c5ebf33bf735fe2b /dpkg-split
parent4815b6041d826f605275d81206195e20bc9ced80 (diff)
downloaddpkg-28caaffea717f5f827972c0d6d54f1750118bd82.tar.gz
dpkg-deb, dpkg-split: Fix few resource leaks
Diffstat (limited to 'dpkg-split')
-rw-r--r--dpkg-split/join.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dpkg-split/join.c b/dpkg-split/join.c
index 97b6cd670..7a4e950ea 100644
--- a/dpkg-split/join.c
+++ b/dpkg-split/join.c
@@ -74,6 +74,7 @@ void reassemble(struct partinfo **partlist, const char *outputfile) {
if (fsync(fileno(output)))
ohshite(_("unable to sync file '%s'"), outputfile);
if (fclose(output)) werr(outputfile);
+ free(buffer);
printf(_("done\n"));
}