]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Need to clean up the tmp pool on the normal path too
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 20 Sep 2021 22:27:19 +0000 (17:27 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 20 Sep 2021 22:27:19 +0000 (17:27 -0500)
src/lib/util/value.c

index 5f698b46a6d6ca99480b73da566a77b6933b5b30..d5d41377bd20beaba3b321d7190c52de79de7b19 100644 (file)
@@ -5244,6 +5244,8 @@ ssize_t fr_value_box_list_concat_as_octets(bool *tainted, fr_dbuff_t *dbuff, fr_
                }
        }
 
+       talloc_free(tmp_ctx);
+
        /*
         *      Free the boxes last so if there's
         *      an issue concating them, everything