Commit 3516890d authored by Philip Withnall's avatar Philip Withnall

agent: Fix a minor leak in an error handling path

parent 44b332d4
......@@ -4041,6 +4041,7 @@ nice_agent_recv_messages_blocking_or_nonblocking (NiceAgent *agent,
if (!agent_find_component (agent, stream_id, component_id,
&stream, &component)) {
g_clear_error (&child_error);
g_set_error (&child_error, G_IO_ERROR, G_IO_ERROR_BROKEN_PIPE,
"Component removed during call.");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment