about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Src/Modules/zutil.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c5f9b94e4..89fe9d385 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-04-25  Sven Wischnowsky  <wischnow@zsh.org>
+
+	* 17035: Src/Modules/zutil.c: remove one half of 17029; the
+	part for zstyle wasn't right
+
 2002-04-24  Sven Wischnowsky  <wischnow@zsh.org>
 
 	* 17029: Src/Modules/zutil.c, Src/Zle/complete.c: fix two
diff --git a/Src/Modules/zutil.c b/Src/Modules/zutil.c
index 3443f870d..85ab4b394 100644
--- a/Src/Modules/zutil.c
+++ b/Src/Modules/zutil.c
@@ -132,7 +132,6 @@ setstypat(Style s, char *pat, Patprog prog, char **vals, int eval)
 		freearray(p->vals);
 	    if (p->eval)
 		freeeprog(p->eval);
-            freepatprog(p->prog);
 	    p->vals = zarrdup(vals);
 	    p->eval = eprog;