From f0ae8d4f9c8e521461966d6e9c778b539a80e7a6 Mon Sep 17 00:00:00 2001 From: "Alan T. DeKok" Date: Tue, 24 Jun 2014 09:20:25 -0400 Subject: [PATCH] talloc_steal the packet after reading it --- src/main/listen.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/listen.c b/src/main/listen.c index c05b892..339e1e6 100644 --- a/src/main/listen.c +++ b/src/main/listen.c @@ -247,6 +247,7 @@ RADCLIENT *client_listener_find(rad_listen_t *listener, talloc_free(request); goto unknown; } + (void) talloc_steal(request, request->packet); request->reply = rad_alloc_reply(request, request->packet); if (!request->reply) { talloc_free(request); -- 2.1.4