🔨」 fix: fixed leak with _default table

This commit is contained in:
2025-05-01 17:00:34 +02:00
parent 9a28e15af0
commit 86896945f9
2 changed files with 4 additions and 3 deletions

View File

@ -29,10 +29,10 @@ redirect = "https://kanel.ovh"
host = "127.0.0.1"
port = 9090
[serverr.error_pages]
[default.error_pages]
404 = "existepasfd***.html"
[serverr.location./]
[default.location./]
methods = { "GET", "DELETE" }
root = "/var/lib/docker/volumes/test_data/_data"
dirlist = false

View File

@ -6,7 +6,7 @@
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/04/14 12:53:54 by adjoly #+# #+# */
/* Updated: 2025/05/01 16:31:45 by adjoly ### ########.fr */
/* Updated: 2025/05/01 17:00:00 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
@ -74,4 +74,5 @@ Config::~Config(void) {
for (auto it = range(_servers)) {
delete *it;
}
delete _default;
}