mirror of
https://github.com/corda/corda.git
synced 2025-01-31 16:35:43 +00:00
Fixed memory leak (which triggered asserts in tests)
This commit is contained in:
parent
5828ef1d46
commit
647e22bf81
@ -3958,6 +3958,8 @@ JNI_CreateJavaVM(Machine** m, Thread** t, void* args)
|
|||||||
(s, h, bf, af, p, c, properties, propertyCount, arguments, a->nOptions,
|
(s, h, bf, af, p, c, properties, propertyCount, arguments, a->nOptions,
|
||||||
stackLimit);
|
stackLimit);
|
||||||
|
|
||||||
|
h->free(properties, sizeof(const char*) * propertyCount);
|
||||||
|
|
||||||
*t = p->makeThread(*m, 0, 0);
|
*t = p->makeThread(*m, 0, 0);
|
||||||
|
|
||||||
enter(*t, Thread::ActiveState);
|
enter(*t, Thread::ActiveState);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user