提交 ea3d77c8 编写于 作者: P Paolo Bonzini

pr-manager-helper: fix memory leak on event

Reported by Coverity.
Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
上级 81e34930
......@@ -46,6 +46,7 @@ static void pr_manager_send_status_changed_event(PRManagerHelper *pr_mgr)
if (id) {
qapi_event_send_pr_manager_status_changed(id, !!pr_mgr->ioc,
&error_abort);
g_free(id);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册