diff options
-rw-r--r-- | toxav/toxav.c | 2 | ||||
-rw-r--r-- | toxcore/group.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/toxav/toxav.c b/toxav/toxav.c index 7cba031e..8549bc05 100644 --- a/toxav/toxav.c +++ b/toxav/toxav.c | |||
@@ -588,6 +588,8 @@ int toxav_kill_transmission ( ToxAv *av, int32_t call_index ) | |||
588 | codec_terminate_session(call->cs); | 588 | codec_terminate_session(call->cs); |
589 | call->cs = NULL; | 589 | call->cs = NULL; |
590 | 590 | ||
591 | free(call->frame_buf); | ||
592 | |||
591 | pthread_mutex_unlock(&call->mutex); | 593 | pthread_mutex_unlock(&call->mutex); |
592 | pthread_mutex_destroy(&call->mutex); | 594 | pthread_mutex_destroy(&call->mutex); |
593 | 595 | ||
diff --git a/toxcore/group.c b/toxcore/group.c index 26df82bd..3a3a0561 100644 --- a/toxcore/group.c +++ b/toxcore/group.c | |||
@@ -1282,6 +1282,8 @@ static void handle_direct_packet(Group_Chats *g_c, int groupnumber, const uint8_ | |||
1282 | } | 1282 | } |
1283 | } | 1283 | } |
1284 | 1284 | ||
1285 | break; | ||
1286 | |||
1285 | case PEER_QUERY_ID: { | 1287 | case PEER_QUERY_ID: { |
1286 | Group_c *g = get_group_c(g_c, groupnumber); | 1288 | Group_c *g = get_group_c(g_c, groupnumber); |
1287 | 1289 | ||