提交 809999b5 编写于 作者: A ajia@redhat.com 提交者: Eric Blake

remote: avoid memory leak

Leak present since introduction of remoteDomainBuildEventGraphics
in commit 987e31ed.

* src/remote/remote_driver.c: fix memory leak.
Signed-off-by: NAlex Jia <ajia@redhat.com>
上级 db3b32c4
......@@ -3294,6 +3294,7 @@ no_memory:
VIR_FREE(subject->identities);
VIR_FREE(subject);
}
virDomainFree(dom);
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册