From 20ab02cf4bf67e0e32995359d01ad3eee5a603da Mon Sep 17 00:00:00 2001 From: mannol Date: Thu, 29 May 2014 22:51:45 +0200 Subject: [PATCH] Double-free on timeout fix --- toxav/msi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toxav/msi.c b/toxav/msi.c index 5b13da61..b6a8463f 100644 --- a/toxav/msi.c +++ b/toxav/msi.c @@ -1027,7 +1027,7 @@ void *handle_timeout ( void *arg ) /* uint16_t _it = 0; * for ( ; _it < _session->call->peer_count; _it++ ) */ msi_cancel ( _call->session, _call->call_idx, _call->peers [0], "Request timed out" ); - terminate_call(_call->session, _call); + /*terminate_call(_call->session, _call);*/ } pthread_exit(NULL);