Commit 13fc74cc authored by Youness Alaoui's avatar Youness Alaoui

TURN: pending_bindings is of type NiceAddress not ChannelBinding.

Thanks to Olivier for spotting this.
parent 56b45c54
...@@ -180,10 +180,7 @@ socket_close (NiceSocket *sock) ...@@ -180,10 +180,7 @@ socket_close (NiceSocket *sock)
} }
g_list_free (priv->channels); g_list_free (priv->channels);
for (i = priv->pending_bindings; i; i = i->next) { g_list_foreach (priv->pending_bindings. nice_address_free, NULL);
ChannelBinding *b = i->data;
g_free (b);
}
g_list_free (priv->pending_bindings); g_list_free (priv->pending_bindings);
if (priv->tick_source != NULL) { if (priv->tick_source != NULL) {
......
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