提交 0c1813f4 编写于 作者: E Eric Blake

qemu: plug child process leak on domain core dump

Detected by Coverity.  Leak introduced by typo in commit 58e668d2.

* src/qemu/qemu_driver.c (doCoreDump): Use correct function.
上级 9a87657a
......@@ -2717,7 +2717,7 @@ doCoreDump(struct qemud_driver *driver,
cleanup:
VIR_FORCE_CLOSE(fd);
virFileDirectFdClose(directFd);
virFileDirectFdFree(directFd);
if (ret != 0)
unlink(path);
return ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册