d05 check leaks ok

This commit is contained in:
hugogogo
2022-03-14 18:30:01 +01:00
parent 277f92ac93
commit 2d613efdf4
7 changed files with 11 additions and 19 deletions

View File

@@ -67,8 +67,12 @@ $(NAME): $(OBJS)
# $(CC) $(OBJS) -o $@ $(LIBS)
$(CXX) $(OBJS) -o $@ $(LIBS)
leaks: $(NAME)
valgrind --leak-check=full --show-leak-kinds=all ./$(NAME)
clean:
$(RM_OBJS)
rm -f *_shrubbery
fclean: clean
rm -f $(NAME)

View File

@@ -1,18 +0,0 @@
* *
* * *
* * * * *
* * * * *
* * * * * * *
* * * * * .# * *
* * * #. .# * *
* "#. #: #" * * *
* * * "#. ##" *
* "###
"##
##.
.##:
:###
;###
,####.
/\/\/\/\/\/.######.\/\/\/\/\

View File

@@ -4,7 +4,7 @@
#include "RobotomyRequestForm.hpp"
#include "PresidentialPardonForm.hpp"
#define N_TEST "5"
#define N_TEST "7"
int main() {
int i = 0;