about summary refs log tree commit diff
path: root/Src/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/init.c')
-rw-r--r--Src/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/init.c b/Src/init.c
index 30cd40e6c..29191410e 100644
--- a/Src/init.c
+++ b/Src/init.c
@@ -978,6 +978,7 @@ setupshin(char *runscript)
 	    exit(127);
 	}
 	scriptfilename = sfname;
+	zsfree(argzero); /* ztrdup'd in parseargs */
 	argzero = runscript;
     }
     /*