The following commit has been merged in the master branch:
commit 8da2fd1a892814188afd3e9b60decc3f32ded85d
Author: Guillem Jover <[email protected]>
Date: Wed Nov 9 17:05:22 2011 +0100
dpkg-deb: Fix short-lived pkg_format_node leak in --show
diff --git a/dpkg-deb/info.c b/dpkg-deb/info.c
index 65ea6fa..0fb1cfb 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;
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]