Browse Source

Free alloc'd memory

Signed-off-by: wmb <wmb@teknik.io>
master
wmb 1 year ago
parent
commit
64556e80d1
  1. 2
      main.c

2
main.c

@ -70,6 +70,8 @@ bool trouver_solution_initiale(void) @@ -70,6 +70,8 @@ bool trouver_solution_initiale(void)
for (i = 0; !ret && i < (size_t) n_clusters; ++i)
ret = (ret || cluster_empty[i]);
free(cluster_empty);
return !ret;
}

Loading…
Cancel
Save