提交 9cc0f8d5 编写于 作者: J John Ferlan 提交者: Michal Privoznik

remote: Avoid coverity[leaked_storage] message.

Upon successful return of virNetClientStreamEventAddCallback() the
allocated cbdata field will be freed by virNetClientStreamEventRemoveCallback()
as cbOpaque using the free function remoteStreamCallbackFree().
上级 6c2e4c38
......@@ -4816,6 +4816,7 @@ remoteStreamEventAddCallback(virStreamPtr st,
cleanup:
remoteDriverUnlock(priv);
/* coverity[leaked_storage] - cbdata is not leaked */
return ret;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册