mirror of
https://github.com/corda/corda.git
synced 2024-12-28 00:38:55 +00:00
add call To ClassFinder::free() in resolveClass()
This commit is contained in:
parent
1853ea825e
commit
1d02290ed1
@ -708,6 +708,8 @@ resolveClass(Thread* t, object spec)
|
||||
if (data) {
|
||||
class_ = parseClass(t, data, size);
|
||||
|
||||
t->vm->classFinder->free(data);
|
||||
|
||||
PROTECT(t, class_);
|
||||
hashMapInsert(t, t->vm->classMap, h, spec, class_);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user