[macruby-changes] [818] MacRuby/trunk/st.c
source_changes at macosforge.org
source_changes at macosforge.org
Sat Feb 28 12:33:07 PST 2009
Revision: 818
http://trac.macosforge.org/projects/ruby/changeset/818
Author: lsansonetti at apple.com
Date: 2009-02-28 12:33:06 -0800 (Sat, 28 Feb 2009)
Log Message:
-----------
fixed a GC leak
Modified Paths:
--------------
MacRuby/trunk/st.c
Modified: MacRuby/trunk/st.c
===================================================================
--- 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);
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090228/51395f66/attachment.html>
More information about the macruby-changes
mailing list