summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-12-31 19:40:34 +0100
committerFelix Fietkau <nbd@openwrt.org>2012-12-31 19:40:34 +0100
commitadc5d408b5d28e8c91d81d885ef1da2a9016f1cf (patch)
tree3401d64be4679cf32159b87d1005a2ccc5837b4e
parent80d64072a6ffe5a3175742a6759741b8c82f0995 (diff)
free client header buffer memory
-rw-r--r--client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/client.c b/client.c
index 6d24ce5..0c978d7 100644
--- 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();