-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfree_grid.c
20 lines (18 loc) · 1007 Bytes
/
free_grid.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* free_grid.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: juazouz <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/11/21 11:33:55 by juazouz #+# #+# */
/* Updated: 2018/11/28 15:47:06 by juazouz ### ########.fr */
/* */
/* ************************************************************************** */
#include "fillit.h"
void free_grid(t_grid *grid)
{
if (grid->cells != NULL)
free(grid->cells);
free(grid);
}