fix invalid read with quotes functions

+ ft_free_cmd_arr()
This commit is contained in:
LuckyLaszlo
2021-11-14 04:59:38 +01:00
parent 106af37b58
commit 1e682f796d
6 changed files with 33 additions and 27 deletions

View File

@@ -6,7 +6,7 @@
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/10/08 02:59:58 by lperrey #+# #+# */
/* Updated: 2021/11/13 04:20:43 by lperrey ### ########.fr */
/* Updated: 2021/11/14 00:35:59 by lperrey ### ########.fr */
/* */
/* ************************************************************************** */
@@ -44,6 +44,7 @@ int builtin_echo(int argc, char *argv[], t_all *c);
// Free
int free_exit(t_all *c, int exit_status);
void ft_free_cmd_arr(t_cmd **cmd_arr);
// Generic
char *ft_strjoinfree(char *s1, char *s2);