]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Free expired cache entries
authorNick Porter <nick@portercomputing.co.uk>
Thu, 24 Jul 2025 14:33:30 +0000 (15:33 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Thu, 24 Jul 2025 14:33:30 +0000 (15:33 +0100)
src/modules/rlm_dpsk/rlm_dpsk.c

index fa3b2766751def4d94015c0863d339779a94d66d..7ca7a78f7747a123f82c9a7c7409222125e5169a 100644 (file)
@@ -267,6 +267,7 @@ static rlm_dpsk_cache_t *dpsk_cache_find(REQUEST *request, rlm_dpsk_t const *ins
 
                RDEBUG3("Cache entry has expired");
                rbtree_deletebydata(inst->cache, entry);
+               talloc_free(entry);
        }
 
        return NULL;