Skip to content

Commit

Permalink
hmm yes, free a object already cleaned hmm, marvelous
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyagara committed Jun 4, 2024
1 parent 8425313 commit a2eb934
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@ int main() {
// Wait until all tasks are completed and threads are done.
join_threads(threads);

free(args);
INFO("MAIN", "All tasks completed, cleaning up");

free_queue(args->queue);
free(args);
free(run);
return 0;
}
Expand Down

0 comments on commit a2eb934

Please sign in to comment.