On 8/20/19 2:59 PM, Ján Tomko wrote:
Signed-off-by: Ján Tomko <jto...@redhat.com>
---
  src/qemu/qemu_command.c | 30 ++++++++++--------------------
  1 file changed, 10 insertions(+), 20 deletions(-)

diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index 94a6ad546e..b5448a074f 100644
--- a/src/qemu/qemu_command.c
+++ b/src/qemu/qemu_command.c


You can also modify qemuDiskSourceGetProps(). The virJSONValueObjectCreate() will steal @props and set it to NULL on success. So virJSONValueFree() can be called safely there too.

Michal

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

Reply via email to