diff --git a/toxav/msi.c b/toxav/msi.c index 5efaf147..7f390435 100644 --- a/toxav/msi.c +++ b/toxav/msi.c @@ -699,6 +699,8 @@ static void timer_terminate_session(TimerHandler *handler) free(handler->timers); pthread_mutex_destroy( &handler->mutex ); + + free(handler); } /**