diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-24 19:35:05 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-24 19:35:05 +0200 |
commit | 418c6adb9b6c60dce662778257abb93c216da891 (patch) | |
tree | 62b6854c3b221a9e8661c968d9a32294f7290989 /src/b_export_next.c | |
parent | .gitignore update (diff) | |
download | 42-minishell-418c6adb9b6c60dce662778257abb93c216da891.tar.gz 42-minishell-418c6adb9b6c60dce662778257abb93c216da891.tar.bz2 42-minishell-418c6adb9b6c60dce662778257abb93c216da891.tar.xz 42-minishell-418c6adb9b6c60dce662778257abb93c216da891.tar.zst 42-minishell-418c6adb9b6c60dce662778257abb93c216da891.zip |
Freed leaks, fix in progress
Diffstat (limited to 'src/b_export_next.c')
-rw-r--r-- | src/b_export_next.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/b_export_next.c b/src/b_export_next.c index 90a4820..c46389a 100644 --- a/src/b_export_next.c +++ b/src/b_export_next.c @@ -56,6 +56,7 @@ static int64_t { if (ft_strncmp(varname, env_dup[i], ft_strlen(env_dup[i]) + 1) == 0) { + ft_delwords(env_dup); return (i); } i++; |