]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
tmpl_tokenize: Always release the marker
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 17 Mar 2022 14:54:53 +0000 (10:54 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 17 Mar 2022 14:54:53 +0000 (10:54 -0400)
src/lib/server/tmpl_tokenize.c

index 03da26a307e91606ac9b90e78662373571faedad..e9b3379b6187b9088103f00e736353b067dda497 100644 (file)
@@ -1724,6 +1724,7 @@ static inline int tmpl_request_ref_afrom_attr_substr(TALLOC_CTX *ctx, tmpl_attr_
                        };
                        tmpl_request_list_insert_tail(list, rr);
                }
+               fr_sbuff_marker_release(&s_m);
 
                return 0;
        }