mirror of
https://github.com/corda/corda.git
synced 2025-06-21 08:40:03 +00:00
Fixed memory leak (which triggered asserts in tests)
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user