Re: [PATCH 03/12] storage: Fix a resource leak in storageVolCreateXML

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 09, 2015 at 09:34:02 -0400, John Ferlan wrote:
> Commit id '1b5685da' refactored the code to move buildvoldef inside
> the buildVol conditional; however, the VIR_FREE of the memory was
> left only when 'buildret' failed, thus we're leaking memory.
> 
> Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx>
> ---
>  src/storage/storage_driver.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 

ACK,

Peter

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]