libvirt/tests/storagepoolxml2xmlout
Ján Tomko e9f9690958 conf: do not steal pointers from the pool source
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
2017-03-29 10:36:55 +02:00
..
pool-dir-naming.xml
pool-dir.xml
pool-disk-device-nopartsep.xml
pool-disk.xml
pool-fs.xml
pool-gluster-sub.xml
pool-gluster.xml
pool-iscsi-auth.xml
pool-iscsi-multiiqn.xml
pool-iscsi-vendor-product.xml
pool-iscsi.xml
pool-logical-create.xml
pool-logical-noname.xml
pool-logical-nopath.xml
pool-logical.xml
pool-mpath.xml
pool-netfs-cifs.xml
pool-netfs-gluster.xml
pool-netfs.xml
pool-rbd.xml
pool-scsi-type-fc-host-managed.xml
pool-scsi-type-fc-host.xml
pool-scsi-type-scsi-host-stable.xml
pool-scsi-type-scsi-host.xml
pool-scsi.xml
pool-sheepdog.xml
pool-vstorage.xml
pool-zfs-sourcedev.xml
pool-zfs.xml