diff options
author | Sean Qureshi <stqism@risingstormgames.com> | 2013-08-04 13:16:08 -0700 |
---|---|---|
committer | Sean Qureshi <stqism@risingstormgames.com> | 2013-08-04 13:16:08 -0700 |
commit | 0fad8e3638bd7fa7ef6f11e46b2636a85907cd2b (patch) | |
tree | ca437a334985e38a3fdd0ad242c7f3d2e4ed425e /testing | |
parent | b9f387b3b7c5f8eff64b6ad8213f24f04ce58967 (diff) |
Fixed a calloc getting freed before being used
Diffstat (limited to 'testing')
-rw-r--r-- | testing/toxic/chat.c | 1 |
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 | } |