]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
free request if we receive erroneous duplicate
authorAlan T. DeKok <aland@freeradius.org>
Tue, 21 Jul 2020 14:13:21 +0000 (10:13 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 21 Jul 2020 14:13:21 +0000 (10:13 -0400)
src/lib/io/worker.c

index ac69c3187cbd274653d52aa73b59b50e89ab8ac7..df5102bbc857e36838d5815e8fa15abc24bfb353 100644 (file)
@@ -780,6 +780,7 @@ nak:
                        if (is_dup) {
                                RDEBUG("Got duplicate packet notice after we had sent a reply - ignoring");
                                fr_channel_null_reply(request->async->channel);
+                               talloc_free(request);
                                return;
                        }
                        goto insert_new;