提交 27ba0ad9 编写于 作者: M Matthias Bolte

Fix memory leak in virStorageBackendCopyToFD

上级 0c3fb8d4
...@@ -198,6 +198,8 @@ cleanup: ...@@ -198,6 +198,8 @@ cleanup:
if (inputfd != -1) if (inputfd != -1)
close(inputfd); close(inputfd);
VIR_FREE(buf);
return ret; return ret;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册