From 837f72b39e7c1b40120ce6b5f51c93fe33ccd771 Mon Sep 17 00:00:00 2001 From: xor2003 Date: Fri, 24 Oct 2014 15:53:38 +0400 Subject: Fix for memory leak. And add forgotten break --- toxcore/group.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'toxcore') 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_ } } + break; + case PEER_QUERY_ID: { Group_c *g = get_group_c(g_c, groupnumber); -- cgit v1.2.3