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