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; }