diff --git a/chat.c b/chat.c index 936eb86..ff7a166 100644 --- a/chat.c +++ b/chat.c @@ -256,6 +256,5 @@ ToxWindow new_chat(int friendnum) { x->friendnum = friendnum; ret.x = (void*) x; - free(x); return ret; }