diff options
-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 | } |