Formerly rule.c.~4~
authorRoland McGrath <roland@redhat.com>
Wed, 29 Apr 1992 00:44:29 +0000 (00:44 +0000)
committerRoland McGrath <roland@redhat.com>
Wed, 29 Apr 1992 00:44:29 +0000 (00:44 +0000)
rule.c

diff --git a/rule.c b/rule.c
index 1d8bcfd..74f8a9e 100644 (file)
--- a/rule.c
+++ b/rule.c
@@ -397,7 +397,7 @@ freerule (rule, lastrule)
       abort ();
     else
       pattern_rules = next;
-  else
+  else if (lastrule != 0)
     lastrule->next = next;
   if (last_pattern_rule == rule)
     last_pattern_rule = lastrule;