Forwarding change
authorStefan de Konink <stefan@konink.de>
Thu, 13 May 2010 20:48:52 +0000 (13 22:48 +0200)
committerStefan de Konink <stefan@konink.de>
Thu, 13 May 2010 20:48:52 +0000 (13 22:48 +0200)
mistral.c

index 5c5fe77..87b1ab4 100644 (file)
--- a/mistral.c
+++ b/mistral.c
@@ -167,6 +167,7 @@ static void goodbye_cb(struct ev_loop *loop, struct ev_timer *w, int revents) {
        ev_timer_stop(loop, &cli->ev_timeout);
 
        close(cli->fd);
+       free(cli);
 }
 
 static void write_cb(struct ev_loop *loop, struct ev_io *w, int revents)