Commit f0c340ea authored by Kai Vehmanen's avatar Kai Vehmanen
Browse files

Fixed segfault with stun_handle_destroy() on a NULL handle.

parent 38af1bd7
......@@ -148,6 +148,7 @@ static int tport_udp_init_stun(tport_primary_t *pri,
static void tport_udp_deinit_stun(tport_primary_t *pri)
tport_stun_t *stunpri = (tport_stun_t *)pri;
if (stunpri->stunpri_handle)
stunpri->stunpri_handle = 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