Skip to content

Commit

Permalink
memset call to zero when killing call.
Browse files Browse the repository at this point in the history
  • Loading branch information
irungentoo committed Aug 6, 2014
1 parent b0bdc81 commit 2ef89f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions toxav/toxav.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 2ef89f6

Please sign in to comment.