correted invalid free
invalid free occuring with invalid chars in ant number
This commit is contained in:
parent
3156bddf27
commit
5894c0cdd0
@ -6,7 +6,7 @@
|
||||
/* By: mndhlovu <mndhlovu@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2019/04/20 15:24:51 by mndhlovu #+# #+# */
|
||||
/* Updated: 2019/05/02 13:11:43 by mndhlovu ### ########.fr */
|
||||
/* Updated: 2019/05/02 14:55:08 by tmaze ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -54,7 +54,6 @@ static int lm_get_ant_(int counter, t_lmdata *ldata
|
||||
synt->nb_state = 1;
|
||||
return (1);
|
||||
}
|
||||
free(line);
|
||||
}
|
||||
return (0);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user