ex00 leaks solved

This commit is contained in:
2025-09-07 19:10:52 +02:00
parent 416478b4f2
commit 7bfdcca2bf
2 changed files with 4 additions and 5 deletions

View File

@@ -6,7 +6,7 @@
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/09/05 17:04:38 by aortigos #+# #+# */
/* Updated: 2025/09/06 01:22:01 by aortigos ### ########.fr */
/* Updated: 2025/09/07 19:10:34 by aortigos ### ########.fr */
/* */
/* ************************************************************************** */
@@ -17,7 +17,7 @@ void randomChump( std::string name )
Zombie *z;
z = new Zombie(name);
z->announce();
delete (z);
}

View File

@@ -6,7 +6,7 @@
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/09/05 16:42:21 by aortigos #+# #+# */
/* Updated: 2025/09/06 01:59:00 by aortigos ### ########.fr */
/* Updated: 2025/09/07 19:08:01 by aortigos ### ########.fr */
/* */
/* ************************************************************************** */
@@ -17,7 +17,6 @@ int main()
Zombie *z;
z = newZombie("Angel");
z->announce();
randomChump("Estudiante42");