about summary refs log tree commit diff
path: root/Src/utils.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2000-06-01 09:10:15 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2000-06-01 09:10:15 +0000
commit4608712264c8549a9217dfa209ed6bdfeb941355 (patch)
tree3db98816cfeabe854710e76535ecbf453a020040 /Src/utils.c
parent3f8f27929472cdd5ed78543e123b72aebe61b847 (diff)
downloadzsh-4608712264c8549a9217dfa209ed6bdfeb941355.tar.gz
zsh-4608712264c8549a9217dfa209ed6bdfeb941355.tar.xz
zsh-4608712264c8549a9217dfa209ed6bdfeb941355.zip
FR & pws: promptexpand memory leaks; NEWS notes
Diffstat (limited to 'Src/utils.c')
-rw-r--r--Src/utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/utils.c b/Src/utils.c
index 116c8089e..b4be1c4f1 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -807,6 +807,7 @@ printprompt4(void)
 	opts[XTRACE] = t;
 
 	fprintf(xtrerr, "%s", s);
+	free(s);
     }
 }