Commit 80c43a54 authored by Olivier Crête's avatar Olivier Crête

udp-turn: Remove request before freeing it

As removing the request from the queue looks into the SendRequest, one
needs to unqueue it before freeing it.
parent caf9f1d8
......@@ -1099,8 +1099,8 @@ priv_forget_send_request_timeout (gpointer pointer)
return G_SOURCE_REMOVE;
}
send_request_free (req);
g_queue_remove (req->priv->send_requests, req);
send_request_free (req);
g_mutex_unlock (&mutex);
......
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