mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-10-08 19:34:20 +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)
|
if (fd != logFD)
|
||||||
VIR_FORCE_CLOSE(fd);
|
VIR_FORCE_CLOSE(fd);
|
||||||
|
|
||||||
|
VIR_FREE(message);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user