1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-01-12 07:42:56 +00:00
libvirt/tests/storagepoolxml2xmlout
Ján Tomko 47fa3d3992 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
(cherry picked from commit e9f9690958b7fc86c4002c16cd2bdccba0dd07d1)
2017-05-10 15:42:45 -04:00
..
2015-05-27 14:03:42 +04:00