mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
qemu: Fix one memory leak
* src/qemu/qemu_domain.c: (qemuDomainAppendLog) Free "message" in "cleanup".
This commit is contained in:
parent
d42ea21aec
commit
20d5e9db82
@ -947,5 +947,6 @@ cleanup:
|
||||
if (fd != logFD)
|
||||
VIR_FORCE_CLOSE(fd);
|
||||
|
||||
VIR_FREE(message);
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user