[libvirt] [PATCH] Fix memory leak while scanning snapshots
Eric Blake
eblake at redhat.com
Tue Aug 9 16:25:31 UTC 2011
On 08/09/2011 07:47 AM, Philipp Hahn wrote:
> If a snapshot with the name already exists, virDomainSnapshotAssignDef()
> just returns NULL, in which case the snapshot definition is leaked.
> Currently this leak is not a big problem, since qemuDomainSnapshotLoad()
> is only called once during initial startup of libvirtd.
>
> Signed-off-by: Philipp Hahn<hahn at univention.de>
> ---
> src/qemu/qemu_driver.c | 6 +++++-
> 1 files changed, 5 insertions(+), 1 deletions(-)
ACK and pushed.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
More information about the libvir-list
mailing list