summaryrefslogtreecommitdiff
path: root/tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tcp.c')
-rw-r--r--tcp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tcp.c b/tcp.c
index 6f6fec8..a470120 100644
--- a/tcp.c
+++ b/tcp.c
@@ -180,8 +180,7 @@ void *tcpclientrd(void *arg) {
continue;
}
- if (!replyh(server, buf))
- free(buf);
+ replyh(server, buf);
}
server->clientrdgone = 1;
return NULL;