check leaks d01

This commit is contained in:
hugogogo
2022-03-14 15:05:24 +01:00
parent 3f0c94360a
commit 189f76260c
13 changed files with 38 additions and 63 deletions

View File

@@ -49,6 +49,9 @@ $(OBJS): $(HEADERS:%=$(D_HEADERS)/%)
$(NAME): $(OBJS)
$(CC) $(OBJS) -o $@ $(LIBS)
leaks: $(NAME)
valgrind --leak-check=full --show-leak-kinds=all ./$(NAME)
clean:
rm -f $(OBJS)