fixed readline() leak/double_free with **environ

This commit is contained in:
LuckyLaszlo
2021-12-02 01:35:02 +01:00
parent b3f74c4179
commit d710f5ef68
3 changed files with 19 additions and 33 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/01 17:17:49 by lperrey ### ########.fr */
/* Updated: 2021/12/02 00:37:39 by lperrey ### ########.fr */
/* */
/* ************************************************************************** */
@@ -16,7 +16,6 @@
// variable globale
int g_switch_heredoc_sigint;
extern char **environ;
char **g_ori_environ; // WIP free test
// Init
int init(t_all *c);