diff options
author | Guillem Jover <guillem@debian.org> | 2011-11-09 17:05:22 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2011-11-10 05:12:33 +0100 |
commit | 8da2fd1a892814188afd3e9b60decc3f32ded85d (patch) | |
tree | b556387d92885813a06bf256ab691edc3cf0a1db /dpkg-deb/info.c | |
parent | c0058777f3f82201a155e7ca41bb445621071412 (diff) | |
download | dpkg-8da2fd1a892814188afd3e9b60decc3f32ded85d.tar.gz |
dpkg-deb: Fix short-lived pkg_format_node leak in --show
Diffstat (limited to 'dpkg-deb/info.c')
-rw-r--r-- | dpkg-deb/info.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dpkg-deb/info.c b/dpkg-deb/info.c index 65ea6fa9d..0fb1cfb7d 100644 --- a/dpkg-deb/info.c +++ b/dpkg-deb/info.c @@ -283,6 +283,7 @@ do_showinfo(const char *const *argv) parsedb(controlfile, pdb_recordavailable | pdb_rejectstatus | pdb_ignorefiles, &pkg); pkg_format_show(fmt, pkg, &pkg->available); + pkg_format_free(fmt); free(controlfile); return 0; |