mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
fix GC-safety bug in resolveSpec
This commit is contained in:
parent
4c14a9ab66
commit
a56c1d8765
@ -618,6 +618,7 @@ resolveSpec(Thread* t, object loader, object spec, unsigned offset)
|
|||||||
}
|
}
|
||||||
|
|
||||||
PROTECT(t, spec);
|
PROTECT(t, spec);
|
||||||
|
PROTECT(t, loader);
|
||||||
|
|
||||||
unsigned length = s - &byteArrayBody(t, spec, offset);
|
unsigned length = s - &byteArrayBody(t, spec, offset);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user