30084: missing zsfree(argzero)

This commit is contained in:
Peter Stephenson 2012-01-04 17:50:11 +00:00
parent bcd0fd1128
commit 731877dd78
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-01-04 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 30084: Src/init.c: zsfree(argzero) before we set it again
following ztrdup() in parseargs().
2012-01-02 Barton E. Schaefer <schaefer@zsh.org>
* 30073 (plus comment): Src/Zle/zle_main.c: use queue_signals()
@ -15810,5 +15815,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.5552 $
* $Revision: 1.5553 $
*****************************************************

View File

@ -978,6 +978,7 @@ setupshin(char *runscript)
exit(127);
}
scriptfilename = sfname;
zsfree(argzero); /* ztrdup'd in parseargs */
argzero = runscript;
}
/*