[libvirt] [PATCH for 1.2.4] storage: Clear all data allocated about backing store before reparsing
Eric Blake
eblake at redhat.com
Wed Apr 30 15:43:34 UTC 2014
On 04/30/2014 08:53 AM, Peter Krempa wrote:
> To avoid memory leak of the "backingStoreRaw" field when reparsing
> backing chains a new function is being introduced by this patch that
> shall be used to clear backing store information.
>
> The memory leak was introduced in commit 8823272d41a259c1246c05d.
> ---
> src/libvirt_private.syms | 1 +
> src/qemu/qemu_domain.c | 8 +++-----
> src/qemu/qemu_driver.c | 3 +--
> src/util/virstoragefile.c | 30 ++++++++++++++++++++++++------
> src/util/virstoragefile.h | 1 +
> 5 files changed, 30 insertions(+), 13 deletions(-)
ACK, and good for the freeze.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140430/ce7076b6/attachment-0001.sig>
More information about the libvir-list
mailing list