提交 65bacb91 编写于 作者: Z ZhiPeng Lu 提交者: Michal Privoznik

phyp: Fix memory leak in phypUUIDTable_Push

@remote_file, allocated by virAsprintf, was not freed and leaked.
Signed-off-by: NZhipeng Lu <lu.zhipeng@zte.com.cn>
上级 8c1f2543
......@@ -568,6 +568,7 @@ phypUUIDTable_Push(virConnectPtr conn)
ret = 0;
cleanup:
VIR_FREE(remote_file);
if (channel) {
libssh2_channel_send_eof(channel);
libssh2_channel_wait_eof(channel);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册