various code improvements
[libradsec.git] / tcp.c
diff --git a/tcp.c b/tcp.c
index 6f6fec8..a470120 100644 (file)
--- 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;