summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Porzelt <tp@cryosphere.de>2009-09-13 16:16:29 +0200
committerThomas Porzelt <tp@cryosphere.de>2009-09-13 16:16:29 +0200
commit993ed0a6b07d30eb480f90e1019af37fd3788b82 (patch)
treedfc3312ec4000ba04b0cd44d0474899479a0874d
parent98278f6de28f67716a099bf4046548612e94901d (diff)
downloadweighttp-993ed0a6b07d30eb480f90e1019af37fd3788b82.tar.gz
weighttp-993ed0a6b07d30eb480f90e1019af37fd3788b82.zip
fix tiny memory leak
-rw-r--r--src/weighttp.c1
1 files changed, 1 insertions, 0 deletions
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;