mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
memset call to zero when killing call.
This commit is contained in:
parent
b0bdc81426
commit
2ef89f6ae0
|
@ -591,6 +591,7 @@ int toxav_kill_transmission ( ToxAv *av, int32_t call_index )
|
|||
pthread_mutex_unlock(&call->mutex);
|
||||
pthread_mutex_destroy(&call->mutex);
|
||||
|
||||
memset(call, 0, sizeof(CallSpecific));
|
||||
return ErrorNone;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user