diff options
author | irungentoo <irungentoo@gmail.com> | 2014-08-05 20:58:49 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2014-08-05 20:58:49 -0400 |
commit | 2ef89f6ae029dde7f683f1ad0df2d6ef6072836d (patch) | |
tree | d5f131d0d15381fadfcbfe2ba516115387fe66f5 | |
parent | b0bdc81426ae214d576ac55c4e2fd46903d51c91 (diff) |
memset call to zero when killing call.
-rw-r--r-- | toxav/toxav.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/toxav/toxav.c b/toxav/toxav.c index 8179103c..cd0ec70e 100644 --- a/toxav/toxav.c +++ b/toxav/toxav.c | |||
@@ -591,6 +591,7 @@ int toxav_kill_transmission ( ToxAv *av, int32_t call_index ) | |||
591 | pthread_mutex_unlock(&call->mutex); | 591 | pthread_mutex_unlock(&call->mutex); |
592 | pthread_mutex_destroy(&call->mutex); | 592 | pthread_mutex_destroy(&call->mutex); |
593 | 593 | ||
594 | memset(call, 0, sizeof(CallSpecific)); | ||
594 | return ErrorNone; | 595 | return ErrorNone; |
595 | } | 596 | } |
596 | 597 | ||