diff options
Diffstat (limited to 'src/u_vars.c')
-rw-r--r-- | src/u_vars.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/u_vars.c b/src/u_vars.c index a852d6f..ebd6a03 100644 --- a/src/u_vars.c +++ b/src/u_vars.c @@ -22,7 +22,7 @@ static char *set_rva(const char varname[], - t_msh *msh) + t_msh *msh) { char *rvarname; @@ -41,8 +41,8 @@ static char static char *dup_env(char *p_env, - char *rvarname, - t_msh *msh) + char *rvarname, + t_msh *msh) { char *varval; @@ -80,6 +80,7 @@ static char } p_env += 1; } + ft_memdel((void*)&rvarname); return (NULL); } |