🔨」 fix: fixed leak

This commit is contained in:
2025-05-30 16:20:32 +02:00
parent 30866645a0
commit f0a5ceb397
3 changed files with 9 additions and 3 deletions

View File

@ -6,7 +6,7 @@
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/04/30 09:40:16 by adjoly #+# #+# */
/* Updated: 2025/05/29 11:44:03 by adjoly ### ########.fr */
/* Updated: 2025/05/30 16:20:15 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */

View File

@ -6,7 +6,7 @@
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/04/30 09:50:20 by adjoly #+# #+# */
/* Updated: 2025/05/29 12:06:54 by adjoly ### ########.fr */
/* Updated: 2025/05/30 16:19:33 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
@ -169,3 +169,8 @@ Response Post::execute(void) {
}
return (response);
}
Post::~Post(void) {
if (_url != not_nullptr)
delete _url;
}