mirror of
https://github.com/corda/corda.git
synced 2024-12-29 09:18:58 +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) {
|
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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user