From 993ed0a6b07d30eb480f90e1019af37fd3788b82 Mon Sep 17 00:00:00 2001 From: Thomas Porzelt Date: Sun, 13 Sep 2009 16:16:29 +0200 Subject: [PATCH] fix tiny memory leak --- src/weighttp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/weighttp.c b/src/weighttp.c index b4826b9..14c8142 100644 --- a/src/weighttp.c +++ b/src/weighttp.c @@ -349,6 +349,7 @@ int main(int argc, char *argv[]) { free(threads); free(workers); free(config.request); + free(host); freeaddrinfo(config.saddr); return 0;