various code improvements
[radsecproxy.git] / dtls.c
diff --git a/dtls.c b/dtls.c
index a63aaef..14c34d3 100644 (file)
--- a/dtls.c
+++ b/dtls.c
@@ -585,8 +585,7 @@ void *dtlsclientrd(void *arg) {
            dtlsconnect(server, &lastconnecttry, 0, "dtlsclientrd");
            continue;
        }
-       if (!replyh(server, buf))
-           free(buf);
+       replyh(server, buf);
     }
     ERR_remove_state(0);
     server->clientrdgone = 1;