提交 20d5e9db 编写于 作者: O Osier Yang

qemu: Fix one memory leak

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

  Free "message" in "cleanup".
上级 d42ea21a
......@@ -947,5 +947,6 @@ cleanup:
if (fd != logFD)
VIR_FORCE_CLOSE(fd);
VIR_FREE(message);
return ret;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册