edit game_delete

This commit is contained in:
Thibault Perrier committed 2021-12-07 01:35:05 +01:00
1 parent 920df3b7c5
commit 3946e3e5f1
1 file changed
+1 -1
+1 -1
View File
@@ -64,8 +64,8 @@ bool game_equal(cgame g1, cgame g2) {
void game_delete(game g) {
for (int i = 0; i < DEFAULT_SIZE; i++) {
free(g->tab_cell[i]);
g->tab_cell[i] = NULL;
}
free(g->tab_cell);
free(g);
g = NULL;
return;