From 0fad8e3638bd7fa7ef6f11e46b2636a85907cd2b Mon Sep 17 00:00:00 2001 From: Sean Qureshi Date: Sun, 4 Aug 2013 13:16:08 -0700 Subject: [PATCH] Fixed a calloc getting freed before being used --- testing/toxic/chat.c | 1 - 1 file changed, 1 deletion(-) diff --git a/testing/toxic/chat.c b/testing/toxic/chat.c index 936eb868..ff7a1667 100644 --- a/testing/toxic/chat.c +++ b/testing/toxic/chat.c @@ -256,6 +256,5 @@ ToxWindow new_chat(int friendnum) { x->friendnum = friendnum; ret.x = (void*) x; - free(x); return ret; }