trap pointer in exitshell().
Signed-off-by: Andreas Bofjall
---
src/trap.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/trap.c b/src/trap.c
index edb9938..5418b07 100644
--- a/src/trap.c
+++ b/src/trap.c
@@ -389,6 +389,7 @@ exitshell(void)
trap[0] = NULL
trap pointer in exitshell().
Signed-off-by: Andreas Bofjall
---
v2: move ckfree() to out path
src/trap.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/trap.c b/src/trap.c
index edb9938..0824223 100644
--- a/src/trap.c
+++ b/src/trap.c
@@ -378,7 +378,7 @@ void