BUG/MINOR: ssl: leak crtlist_name in ssl-f-use

This patch fixes a leak of the temporary variable "crtlist_name" which
is used in the ssl-f-use parser.

Must be backported in 3.2.
This commit is contained in:
William Lallemand 2025-10-09 15:12:25 +02:00
parent d9365a88a5
commit 47a93dc750

View File

@ -2483,7 +2483,8 @@ static int post_section_frontend_crt_init()
}
}
return err_code;
goto end;
error:
if (err)
@ -2499,9 +2500,11 @@ error:
ha_free(&n);
}
ha_free(&crtlist_name);
crtlist_entry_free(entry);
crtlist_free(newlist);
end:
ha_free(&crtlist_name);
return err_code;
}