GC safety bugfix

This commit is contained in:
Joel Dice 2009-12-01 22:41:12 -07:00
parent 80d3a286d1
commit 5a0e00ca39

View File

@ -200,8 +200,8 @@ Avian_avian_SystemClassLoader_defineClass
t->m->heap->free(buffer, length);
if (c) {
PROTECT(t, c);
if (getClassLoaderMap(t, loader) == 0) {
PROTECT(t, c);
object map = makeHashMap(t, 0, 0);
set(t, loader, ClassLoaderMap, map);
}