summaryrefslogtreecommitdiff
path: root/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'udp.c')
-rw-r--r--udp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/udp.c b/udp.c
index eff8a6e..c2302d4 100644
--- a/udp.c
+++ b/udp.c
@@ -27,8 +27,6 @@
#include <openssl/ssl.h>
#include "debug.h"
#include "list.h"
-#include "tlv11.h"
-#include "radmsg.h"
#include "util.h"
#include "radsecproxy.h"
#include "tls.h"
@@ -162,8 +160,7 @@ void *udpclientrd(void *arg) {
for (;;) {
server = NULL;
buf = radudpget(*s, NULL, &server, NULL);
- if (!replyh(server, buf))
- free(buf);
+ replyh(server, buf);
}
}