summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-08-04 13:25:57 -0700
committerirungentoo <irungentoo@gmail.com>2013-08-04 13:25:57 -0700
commit10024f50739f6a15991fd5e8763f45105267804c (patch)
treeca437a334985e38a3fdd0ad242c7f3d2e4ed425e
parentb9f387b3b7c5f8eff64b6ad8213f24f04ce58967 (diff)
parent0fad8e3638bd7fa7ef6f11e46b2636a85907cd2b (diff)
Merge pull request #325 from stqism/master
Fixed a calloc getting freed before being used
-rw-r--r--testing/toxic/chat.c1
1 files changed, 0 insertions, 1 deletions
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) {
256 x->friendnum = friendnum; 256 x->friendnum = friendnum;
257 257
258 ret.x = (void*) x; 258 ret.x = (void*) x;
259 free(x);
260 return ret; 259 return ret;
261} 260}