Re: [PATCH 2/2] conf: do not steal pointers from the pool source

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

 



On Tue, Mar 28, 2017 at 03:22:08PM +0200, Ján Tomko wrote:
Since commit fcbbb28 we steal the pointer to the storage pool
source name if there was no pool name specified.

Properly duplicate the string to avoid freeing it twice.

https://bugzilla.redhat.com/show_bug.cgi?id=1436400
---
src/conf/storage_conf.c                             |  5 +++--
tests/storagepoolxml2xmlout/pool-logical-noname.xml | 19 +++++++++++++++++++
tests/storagepoolxml2xmltest.c                      |  1 +
3 files changed, 23 insertions(+), 2 deletions(-)
create mode 100644 tests/storagepoolxml2xmlout/pool-logical-noname.xml


The ACK from the previous one was meant for both patches, but I didn't
mention it for some reason.  So ACK to this one as well.

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]
  Powered by Linux