From 8cecf6d14593f76d7c9abc0e4a13eb7160a67df6 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Wed, 9 Jun 2021 12:23:42 +0200 Subject: [PATCH] Cleaned warnings --- src/main.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main.c b/src/main.c index 9b07e0a..ac4b59e 100644 --- a/src/main.c +++ b/src/main.c @@ -56,5 +56,12 @@ int main(int argc, char **argv) printf("globalDrawingSpace: %p, size: %lu\n", globalDrawingSpace, globalDrawingSpace->size); printf("arrowList: %p, size: %lu\n", arrowList, arrowList->size); + free(globalDrawingSpace->space); + free(globalDrawingSpace); + free(globalPreemptionSpace->space); + free(globalPreemptionSpace); + free(arrowList->space); + free(arrowList); + return 0; }