Skip to content

Commit

Permalink
fix #5
Browse files Browse the repository at this point in the history
  • Loading branch information
simo981 committed Apr 16, 2024
1 parent 76c7ea1 commit 0517e7c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,7 @@ void gen_bin_perms(unsigned short *arr, size_t size, size_t idx, size_t max, siz
free(auxPerm[i]);
}
}
free(auxPerm);
}
else
{
Expand Down Expand Up @@ -621,7 +622,9 @@ int main(int argc, char **argv)
{
free(bin_delim[i][j]);
}
free(bin_delim[i]);
}
free(bin_delim);
for (size_t i = 0; i < queue_n; i++)
{
free_queue(all_queues[i]);
Expand Down

0 comments on commit 0517e7c

Please sign in to comment.