fix bug
This commit is contained in:
parent
8de235e719
commit
f70722a5ae
1 changed files with 3 additions and 1 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: gwojda <gwojda@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2016/12/19 12:45:06 by gwojda #+# #+# */
|
||||
/* Updated: 2017/02/05 17:07:12 by gwojda ### ########.fr */
|
||||
/* Updated: 2017/03/07 17:08:34 by gwojda ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -84,6 +84,8 @@ void ft_c(void)
|
|||
{
|
||||
char *tmp;
|
||||
|
||||
if (!STR)
|
||||
return ;
|
||||
tmp = data_singleton()->line.copy_tmp;
|
||||
if (tmp)
|
||||
ft_strdel(&tmp);
|
||||
|
|
|
|||
Loading…
Reference in a new issue