[libvirt] [PATCH for 1.2.4] storage: Clear all data allocated about backing store before reparsing

Peter Krempa pkrempa at redhat.com
Wed Apr 30 18:41:54 UTC 2014


On 04/30/14 17:43, Eric Blake wrote:
> 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.
> 

Pushed; Thanks.

Peter

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140430/b3a78890/attachment-0001.sig>


More information about the libvir-list mailing list