diff options
author | xor2003 <xorrezerv2@list.ru> | 2014-10-24 15:53:38 +0400 |
---|---|---|
committer | xor2003 <xorrezerv2@list.ru> | 2014-10-24 15:53:38 +0400 |
commit | 837f72b39e7c1b40120ce6b5f51c93fe33ccd771 (patch) | |
tree | cbc85e93d0c078998f1d95827d3ed17be971bd21 /toxcore | |
parent | 9878b441b1d2b175b20d28cc41406280e3cada31 (diff) |
Fix for memory leak. And add forgotten break
Diffstat (limited to 'toxcore')
-rw-r--r-- | toxcore/group.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 | ||