mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-10-07 15:34:05 +03:00
qemu: Fix one memory leak
* src/qemu/qemu_domain.c: (qemuDomainAppendLog) Free "message" in "cleanup".
This commit is contained in:
@@ -947,5 +947,6 @@ cleanup:
|
||||
if (fd != logFD)
|
||||
VIR_FORCE_CLOSE(fd);
|
||||
|
||||
VIR_FREE(message);
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user