Browse Source

Free alloc'd memory

Signed-off-by: wmb <wmb@teknik.io>
tags/v0.1.0
wmb 5 months ago
parent
commit
64556e80d1
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      main.c

+ 2
- 0
main.c View File

@@ -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