From 4b233e06a16bf5183223e8253b4d9ac9ee59e6a2 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 10 Aug 2020 17:56:38 +0200 Subject: Work in progress --- src/b_pwd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/b_pwd.c') diff --git a/src/b_pwd.c b/src/b_pwd.c index 5e4209e..e3da005 100644 --- a/src/b_pwd.c +++ b/src/b_pwd.c @@ -34,7 +34,7 @@ uint8_t return (0); } if ((cwd = ft_strdup(msh->cwd)) == NULL) - f_fail_alloc_and_destroy(msh); + f_alloc_and_destroy_msh(msh); ft_printf("%s\n", cwd); ft_memdel((void*)&cwd); return (0); -- cgit v1.2.3