]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Validate all list items as they're added
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 12 Jul 2018 21:58:46 +0000 (17:58 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 12 Jul 2018 21:58:46 +0000 (17:58 -0400)
src/lib/server/state.c

index 5e31095b36f7b0c378e9df7a22108a2ca6a02d97..024809c7417ad7dec41caeccacd04f5558f5d858 100644 (file)
@@ -202,7 +202,7 @@ fr_state_tree_t *fr_state_tree_init(TALLOC_CTX *ctx, fr_dict_attr_t const *da, b
                return NULL;
        }
 
-       fr_dlist_init(&state->to_expire, fr_state_entry_t, list);
+       fr_dlist_talloc_init(&state->to_expire, fr_state_entry_t, list);
 
        /*
         *      We need to do controlled freeing of the