mirror of
https://github.com/corda/corda.git
synced 2025-01-19 11:16:54 +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,
|
||||
stackLimit);
|
||||
|
||||
h->free(properties, sizeof(const char*) * propertyCount);
|
||||
|
||||
*t = p->makeThread(*m, 0, 0);
|
||||
|
||||
enter(*t, Thread::ActiveState);
|
||||
|
Loading…
Reference in New Issue
Block a user