Commit b2dcf257 authored by Ghislain MARY's avatar Ghislain MARY

Re-initialize ICE check list structure when destroying it.

parent b6f1b590
......@@ -376,6 +376,7 @@ void ice_check_list_destroy(IceCheckList *cl)
ms_list_free(cl->pairs);
ms_list_free(cl->remote_candidates);
ms_list_free(cl->local_candidates);
memset(cl, 0, sizeof(IceCheckList));
ms_free(cl);
}
......
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