bug fixes and test2

This commit is contained in:
elvis
2022-04-23 17:43:38 +02:00
parent 11a5dae9e9
commit 4fe23200bc
37 changed files with 66 additions and 11 deletions

View File

@ -830,7 +830,8 @@ void clearWaiting(waiting_t **waiting) {
while (curr) {
next = curr->next;
free(curr->file);
if(curr->file)
free(curr->file);
free(curr);
curr = next;
}