]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuDomainAttachDeviceMknodHelper: Don't leak data->target
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 20 Jul 2020 16:54:34 +0000 (18:54 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 3 Aug 2020 17:40:35 +0000 (19:40 +0200)
commit759921d47ca81a05419d2d92c906b7365a133135
tree305a9234daa7623eb1b5c7b17c1739403e81186d
parent9d8d42137a3f31ddd7dbf96c9e930868e6d24053
qemuDomainAttachDeviceMknodHelper: Don't leak data->target

It's not really a problem since this is a helper process that
dies as soon as the helper function returns, but the cleanup code
will be replaced with a function soon and this change prepares
the code for that.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_namespace.c