提交 f12d4169 编写于 作者: E Eric Blake

command: plug memory leak

* src/util/command.c (virCommandFree): Free data from
virCommandSetInputBuffer.
上级 2a5ccbef
......@@ -1198,6 +1198,7 @@ virCommandFree(virCommandPtr cmd)
}
}
VIR_FREE(cmd->inbuf);
VIR_FORCE_CLOSE(cmd->outfd);
VIR_FORCE_CLOSE(cmd->errfd);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册