Revision
818
Author
lsansonetti@apple.com
Date
2009-02-28 12:33:06 -0800 (Sat, 28 Feb 2009)

Log Message

fixed a GC leak

Modified Paths

Diff

Modified: MacRuby/trunk/st.c (817 => 818)


--- MacRuby/trunk/st.c	2009-02-28 20:31:47 UTC (rev 817)
+++ MacRuby/trunk/st.c	2009-02-28 20:33:06 UTC (rev 818)
@@ -454,7 +454,7 @@
 	do {
 	    hash_val = ptr->hash % new_num_bins;
 	    ptr->next = new_bins[hash_val];
-	    new_bins[hash_val] = ptr;
+	    GC_WB(&new_bins[hash_val], ptr);
 	} while ((ptr = ptr->fore) != table->head);
     }
 }