From 7bfdcca2bf586d3c2ccfb532275da218c7c579ab Mon Sep 17 00:00:00 2001 From: aortigos Date: Sun, 7 Sep 2025 19:10:52 +0200 Subject: [PATCH] ex00 leaks solved --- ex00/Zombie/randomChump.cpp | 6 +++--- ex00/main.cpp | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/ex00/Zombie/randomChump.cpp b/ex00/Zombie/randomChump.cpp index c9a9831..1d08048 100644 --- a/ex00/Zombie/randomChump.cpp +++ b/ex00/Zombie/randomChump.cpp @@ -6,7 +6,7 @@ /* By: aortigos announce(); - + + delete (z); } \ No newline at end of file diff --git a/ex00/main.cpp b/ex00/main.cpp index 263ab14..c30ade0 100644 --- a/ex00/main.cpp +++ b/ex00/main.cpp @@ -6,7 +6,7 @@ /* By: aortigos announce(); randomChump("Estudiante42");