BUG/MINOR: ssl: leak crtlist_name in ssl-f-use
Some checks are pending
Contrib / build (push) Waiting to run
alpine/musl / gcc (push) Waiting to run
VTest / Generate Build Matrix (push) Waiting to run
VTest / (push) Blocked by required conditions
Windows / Windows, gcc, all features (push) Waiting to run

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;
}