qemu: Fix one memory leak

* src/qemu/qemu_domain.c: (qemuDomainAppendLog)

  Free "message" in "cleanup".
This commit is contained in:
Osier Yang 2011-06-22 19:32:04 +08:00
parent d42ea21aec
commit 20d5e9db82

View File

@ -947,5 +947,6 @@ cleanup:
if (fd != logFD)
VIR_FORCE_CLOSE(fd);
VIR_FREE(message);
return ret;
}