]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
trunk: Fix scan issue
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 17 Mar 2022 18:01:25 +0000 (14:01 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 17 Mar 2022 18:01:25 +0000 (14:01 -0400)
src/lib/server/trunk.c

index 187bcd14aa19995e4921f9b0ab2f47abcfd12490..e10de819bae31d948845f1a6c24e1252ea6f0464 100644 (file)
@@ -978,6 +978,13 @@ static void trunk_request_remove_from_conn(fr_trunk_request_t *treq)
                break;
        }
 
+       /*
+        *      If the request wasn't associated with a
+        *      connection, then there's nothing more
+        *      to do.
+        */
+       if (!tconn) return;
+
        {
                request_t *request = treq->pub.request;