]> git.ipfire.org Git - thirdparty/libvirt.git/commit
command: avoid memory leak
authorEric Blake <eblake@redhat.com>
Wed, 8 Dec 2010 15:03:29 +0000 (08:03 -0700)
committerEric Blake <eblake@redhat.com>
Thu, 9 Dec 2010 16:14:13 +0000 (09:14 -0700)
commit8e9ee30e8abca0bdf01345158e1d13cd6d5a400a
treea3a55617d71f73bd01d947c63e59217d8c35f494
parentc778fe967808eb2426ed4851db3ec49a0cdc76ca
command: avoid memory leak

* src/util/command.c (virCommandRun): Fix yesterday's regression
on logging, and avoid leaking log-only output captures.
Reported by Hu Tao.
src/util/command.c