retrieve_path() leak fixed

This commit is contained in:
lperrey
2021-12-22 19:34:21 +01:00
parent 9bffb99b30
commit 69adb1cf2f
5 changed files with 21 additions and 13 deletions

View File

@@ -6,7 +6,7 @@
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/10/08 02:59:58 by lperrey #+# #+# */
/* Updated: 2021/12/22 13:50:04 by lperrey ### ########.fr */
/* Updated: 2021/12/22 19:28:07 by lperrey ### ########.fr */
/* */
/* ************************************************************************** */
@@ -19,7 +19,7 @@ extern char **environ;
// Init
int init(t_all *c, char *argv[]);
char *update_prompt(char *prompt_base);
char **retrieve_path(void);
int retrieve_path(char **path_stock[]);
void set_signals_behaviour(void);
// Shell modes