fix
This commit is contained in:
parent
7c70e80b62
commit
1450e83841
10
map/not_rectangle.ber
Normal file
10
map/not_rectangle.ber
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
1111111111111
|
||||||
|
1E110C00C0001
|
||||||
|
1000000011001
|
||||||
|
10C011CC01C01
|
||||||
|
100011C001C001
|
||||||
|
10C000C000C01
|
||||||
|
100001C001C01
|
||||||
|
1000100C01C01
|
||||||
|
1P0001C000C01
|
||||||
|
1111111111111
|
||||||
@ -22,6 +22,7 @@ void ft_error(char *error_msg, char **map)
|
|||||||
while (map[i])
|
while (map[i])
|
||||||
free(map[i++]);
|
free(map[i++]);
|
||||||
}
|
}
|
||||||
|
free(map);
|
||||||
ft_putstr_fd(error_msg, 2);
|
ft_putstr_fd(error_msg, 2);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user