Commit d7bf3d25 authored by Fabrice Bellet's avatar Fabrice Bellet Committed by Olivier Crête
Browse files

conncheck: fix incoming checks memory leak

parent e6a19418
......@@ -1747,6 +1747,9 @@ conn_check_remote_candidates_set(NiceAgent *agent, NiceStream *stream,
priv_mark_pair_nominated (agent, stream, component,
lcand, rcand);
if (icheck->username)
g_free (icheck->username);
g_slice_free (IncomingCheck, icheck);
g_queue_delete_link (&component->incoming_checks, k);
break;
}
......
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