about summary refs log tree commit diff
path: root/Src/Zle/complete.c
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2008-09-23 19:33:13 +0000
committerClint Adams <clint@users.sourceforge.net>2008-09-23 19:33:13 +0000
commit4158a8aa38ac01466b33197aea6e4d39a120b79a (patch)
treef0923bf7e01d510ca32ab3a7d4d7dc6f110dfb8b /Src/Zle/complete.c
parent2ea9873873f61dbad1ca793a84ab8d169b09d3af (diff)
downloadzsh-4158a8aa38ac01466b33197aea6e4d39a120b79a.tar.gz
zsh-4158a8aa38ac01466b33197aea6e4d39a120b79a.tar.xz
zsh-4158a8aa38ac01466b33197aea6e4d39a120b79a.zip
25736: one more zsfree missing from 25667.
Diffstat (limited to 'Src/Zle/complete.c')
-rw-r--r--Src/Zle/complete.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/Zle/complete.c b/Src/Zle/complete.c
index 60c917853..97d148b3a 100644
--- a/Src/Zle/complete.c
+++ b/Src/Zle/complete.c
@@ -708,6 +708,7 @@ bin_compadd(char *name, char **argv, UNUSED(Options ops), UNUSED(int func))
 		    p = "" - 1;
 		} else {
 		    zwarnnam(name, e, *p);
+		    zsfree(mstr);
 		    return 1;
 		}
 		if (dm) {