about summary refs log tree commit diff
path: root/Src/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Modules')
-rw-r--r--Src/Modules/zutil.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/Modules/zutil.c b/Src/Modules/zutil.c
index 500c325b4..3c04d03d8 100644
--- a/Src/Modules/zutil.c
+++ b/Src/Modules/zutil.c
@@ -320,6 +320,7 @@ bin_zstyle(char *nam, char **args, char *ops, int func)
 				    else
 					s->pats = p->next;
 				    freestypat(p);
+				    break;
 				}
 			    }
 			}
@@ -335,6 +336,7 @@ bin_zstyle(char *nam, char **args, char *ops, int func)
 				else
 				    s->pats = p->next;
 				freestypat(p);
+				break;
 			    }
 			}
 		    }