diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-10 17:56:38 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-10 17:56:38 +0200 |
commit | 4b233e06a16bf5183223e8253b4d9ac9ee59e6a2 (patch) | |
tree | dc36a64dcad37e076f478aadc7cccb0f322ea192 /src/m_funptr.c | |
parent | pwd TODO done (diff) | |
download | 42-minishell-4b233e06a16bf5183223e8253b4d9ac9ee59e6a2.tar.gz 42-minishell-4b233e06a16bf5183223e8253b4d9ac9ee59e6a2.tar.bz2 42-minishell-4b233e06a16bf5183223e8253b4d9ac9ee59e6a2.tar.xz 42-minishell-4b233e06a16bf5183223e8253b4d9ac9ee59e6a2.tar.zst 42-minishell-4b233e06a16bf5183223e8253b4d9ac9ee59e6a2.zip |
Work in progress
Diffstat (limited to 'src/m_funptr.c')
-rw-r--r-- | src/m_funptr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/m_funptr.c b/src/m_funptr.c index 3bd0969..2fdf4d1 100644 --- a/src/m_funptr.c +++ b/src/m_funptr.c @@ -32,6 +32,6 @@ void msh->bu_ptr[7] = b_type; if (!(msh->bu_ref = ft_split(FT_BUILTINS, '|'))) { - f_fail_alloc(msh); + f_alloc_and_destroy_msh(msh); } } |