summaryrefslogtreecommitdiffstats
path: root/src/s_struct.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-16 21:09:14 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-16 21:09:14 +0200
commitc8ba75c31c949d3b5e5ba44e389550ea10096c5d (patch)
tree3fd61cd13f2ba9452c49cc9b48449c2458580454 /src/s_struct.h
parentTodo update (diff)
download42-minishell-c8ba75c31c949d3b5e5ba44e389550ea10096c5d.tar.gz
42-minishell-c8ba75c31c949d3b5e5ba44e389550ea10096c5d.tar.bz2
42-minishell-c8ba75c31c949d3b5e5ba44e389550ea10096c5d.tar.xz
42-minishell-c8ba75c31c949d3b5e5ba44e389550ea10096c5d.tar.zst
42-minishell-c8ba75c31c949d3b5e5ba44e389550ea10096c5d.zip
Leak fix
Diffstat (limited to '')
-rw-r--r--src/s_struct.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/s_struct.h b/src/s_struct.h
index b9668de..f9b6ca3 100644
--- a/src/s_struct.h
+++ b/src/s_struct.h
@@ -81,7 +81,7 @@ typedef struct s_msh
struct s_lvars *vars;
struct s_lalias *alias;
char **envp;
- char **prev_hist;
+ char *prev_hist;
char ps[4][255];
char env_fork_tmp[128][4096];
char sqb_ref[FT_ID_SQB_COUNT][4];