summaryrefslogtreecommitdiff
path: root/dtls.c
diff options
context:
space:
mode:
Diffstat (limited to 'dtls.c')
-rw-r--r--dtls.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dtls.c b/dtls.c
index a63aaef..14c34d3 100644
--- 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;