free client header buffer memory
authorFelix Fietkau <nbd@openwrt.org>
Mon, 31 Dec 2012 18:40:34 +0000 (19:40 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 31 Dec 2012 18:40:34 +0000 (19:40 +0100)
client.c

index 6d24ce5c80bd07eb3da9455bd4ba2798f9c3d65a..0c978d7670f23b049d37543c265f5590541c0b21 100644 (file)
--- a/client.c
+++ b/client.c
@@ -263,6 +263,7 @@ static void client_close(struct client *cl)
        ustream_free(&cl->sfd.stream);
        close(cl->sfd.fd.fd);
        list_del(&cl->list);
+       blob_buf_free(&cl->hdr);
        free(cl);
 
        uh_unblock_listeners();