]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh.c: avoid leak on OOM error path
authorJim Meyering <meyering@redhat.com>
Fri, 19 Feb 2010 17:03:41 +0000 (18:03 +0100)
committerJim Meyering <meyering@redhat.com>
Fri, 19 Feb 2010 17:32:23 +0000 (18:32 +0100)
commit27fc6782bccd9d2e3ded62123ea94cb28199f6e0
treece9f1a5bdc316482b563734176fda50f569753df
parent72919f3d354adf0b0b2be2956b24246da47fa280
virsh.c: avoid leak on OOM error path

* tools/virsh.c (cmdCPUBaseline): Also free "buffer" and "list" upon OOM.
tools/virsh.c