Commit 2931db57 authored by Youness Alaoui's avatar Youness Alaoui
Browse files

Return FALSE from gather_candidates if the stream was invalid

parent f31ed482
...@@ -1671,7 +1671,8 @@ nice_agent_gather_candidates ( ...@@ -1671,7 +1671,8 @@ nice_agent_gather_candidates (
stream = agent_find_stream (agent, stream_id); stream = agent_find_stream (agent, stream_id);
if (stream == NULL) { if (stream == NULL) {
goto done; agent_unlock();
return FALSE;
} }
nice_debug ("Agent %p : In %s mode, starting candidate gathering.", agent, nice_debug ("Agent %p : In %s mode, starting candidate gathering.", agent,
......
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