rip leaks
This commit is contained in:
parent
0d4f441670
commit
4084439f7d
2 changed files with 4 additions and 2 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit 9382dc10fdb91892ab26604a5776e5301ab88b71
|
||||
Subproject commit fb9b737be2598ec204afb974ec02f7bce5261b6b
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
/* By: jhalford <jhalford@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2016/12/06 18:40:58 by jhalford #+# #+# */
|
||||
/* Updated: 2017/03/13 23:58:56 by jhalford ### ########.fr */
|
||||
/* Updated: 2017/03/14 17:05:45 by gwojda ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -79,6 +79,8 @@ int handle_instruction(int fd)
|
|||
instruction_free(&token, &parser, &ast);
|
||||
if (SH_IS_INTERACTIVE(data_singleton()->opts) && *lexer.str)
|
||||
ft_add_str_in_history(lexer.str);
|
||||
ft_strdel(&lexer.str);
|
||||
free(parser.new_sym);
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue