Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: zstyle



Oops, better not use struct that were just freed.


Bye
 Sven

diff -ru ../z.old/Src/Modules/zutil.c Src/Modules/zutil.c
--- ../z.old/Src/Modules/zutil.c	Thu Feb  3 10:41:23 2000
+++ Src/Modules/zutil.c	Thu Feb  3 14:36:55 2000
@@ -320,6 +320,7 @@
 				    else
 					s->pats = p->next;
 				    freestypat(p);
+				    break;
 				}
 			    }
 			}
@@ -335,6 +336,7 @@
 				else
 				    s->pats = p->next;
 				freestypat(p);
+				break;
 			    }
 			}
 		    }

--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author