Cleaned warnings

This commit is contained in:
Adrien Bourmault 2021-06-09 12:23:42 +02:00
parent 1194c2b59c
commit 8cecf6d145
No known key found for this signature in database
GPG Key ID: 6EB408FE0ACEC664
1 changed files with 7 additions and 0 deletions

View File

@ -56,5 +56,12 @@ int main(int argc, char **argv)
printf("globalDrawingSpace: %p, size: %lu\n", globalDrawingSpace, globalDrawingSpace->size); printf("globalDrawingSpace: %p, size: %lu\n", globalDrawingSpace, globalDrawingSpace->size);
printf("arrowList: %p, size: %lu\n", arrowList, arrowList->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; return 0;
} }