add call To ClassFinder::free() in resolveClass()

This commit is contained in:
Joel Dice 2007-06-14 20:03:33 -06:00
parent 1853ea825e
commit 1d02290ed1

View File

@ -708,6 +708,8 @@ resolveClass(Thread* t, object spec)
if (data) { if (data) {
class_ = parseClass(t, data, size); class_ = parseClass(t, data, size);
t->vm->classFinder->free(data);
PROTECT(t, class_); PROTECT(t, class_);
hashMapInsert(t, t->vm->classMap, h, spec, class_); hashMapInsert(t, t->vm->classMap, h, spec, class_);
} else { } else {