diff options
Diffstat (limited to 'dpkg-deb')
-rw-r--r-- | dpkg-deb/build.c | 2 | ||||
-rw-r--r-- | dpkg-deb/info.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/dpkg-deb/build.c b/dpkg-deb/build.c index 7c825d618..5a2605fbe 100644 --- a/dpkg-deb/build.c +++ b/dpkg-deb/build.c @@ -621,5 +621,7 @@ do_build(const char *const *argv) if (close(arfd)) ohshite(_("unable to close file '%s'"), debar); + free(debar); + return 0; } diff --git a/dpkg-deb/info.c b/dpkg-deb/info.c index 9640ea4bb..16ec14cc6 100644 --- a/dpkg-deb/info.c +++ b/dpkg-deb/info.c @@ -66,6 +66,8 @@ static void cu_info_prepare(int argc, void **argv) { ohshite(_("unable to execute %s (%s)"), _("rm command for cleanup"), RM); } subproc_reap(pid, _("rm command for cleanup"), 0); + + free(dir); } static void info_prepare(const char *const **argvp, |