mirror of
https://github.com/KeyZox71/webserv.git
synced 2025-05-10 21:08:45 +02:00
「🔨」 fix: fixed leak with _default table
This commit is contained in:
@ -29,10 +29,10 @@ redirect = "https://kanel.ovh"
|
|||||||
host = "127.0.0.1"
|
host = "127.0.0.1"
|
||||||
port = 9090
|
port = 9090
|
||||||
|
|
||||||
[serverr.error_pages]
|
[default.error_pages]
|
||||||
404 = "existepasfd***.html"
|
404 = "existepasfd***.html"
|
||||||
|
|
||||||
[serverr.location./]
|
[default.location./]
|
||||||
methods = { "GET", "DELETE" }
|
methods = { "GET", "DELETE" }
|
||||||
root = "/var/lib/docker/volumes/test_data/_data"
|
root = "/var/lib/docker/volumes/test_data/_data"
|
||||||
dirlist = false
|
dirlist = false
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
|
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2025/04/14 12:53:54 by adjoly #+# #+# */
|
/* 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)) {
|
for (auto it = range(_servers)) {
|
||||||
delete *it;
|
delete *it;
|
||||||
}
|
}
|
||||||
|
delete _default;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user