]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
free on error
authorAlan T. DeKok <aland@freeradius.org>
Sun, 24 May 2026 13:29:56 +0000 (09:29 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 24 May 2026 13:29:56 +0000 (09:29 -0400)
src/fuzzer/fuzzer_xlat.c

index 0ca005614a9b26954ddc1030856b909a59df7af6..e457dd1e0612da9625e7ce07f8b2570275a7e093 100644 (file)
@@ -75,6 +75,8 @@ int LLVMFuzzerInitialize(int *argc, char ***argv)
 
        if (fr_check_lib_magic(RADIUSD_MAGIC_NUMBER) < 0) {
        error:
+               talloc_free(dict_buf);
+               talloc_free(lib_buf);
                fr_perror("fuzzer_xlat");
                return -1;
        }