summaryrefslogtreecommitdiff
blob: 5982f72249228a68e36d65b56697ff72dfa8a748 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- lib/Xm/Hash.c
+++ lib/Xm/Hash.c
@@ -198,6 +198,8 @@
 	} else {
 	  table -> buckets[index] = current;
 	}
+      } else {
+	last = current;
       }
       current = next;
     }