diff options
author | Guillem Jover <guillem@debian.org> | 2010-05-19 06:04:12 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2010-05-19 08:34:02 +0200 |
commit | 28caaffea717f5f827972c0d6d54f1750118bd82 (patch) | |
tree | 05032dc2e02c894eca0aa334c5ebf33bf735fe2b /dpkg-split | |
parent | 4815b6041d826f605275d81206195e20bc9ced80 (diff) | |
download | dpkg-28caaffea717f5f827972c0d6d54f1750118bd82.tar.gz |
dpkg-deb, dpkg-split: Fix few resource leaks
Diffstat (limited to 'dpkg-split')
-rw-r--r-- | dpkg-split/join.c | 1 |
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")); } |