VPP-534 Remove references to DTOs created in JVpp
JVM objects allocated from a native thread need to be freed, they are not subject to GC. Change-Id: If1e140d2ceaec93631735ae7665f45db5aacf7cf Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
This commit is contained in:

committed by
Damjan Marion

parent
cfba1e2476
commit
c0f6cf36a5
@ -157,6 +157,7 @@ static void vl_api_control_ping_reply_t_handler(
|
||||
|
||||
(*env)->CallVoidMethod(env, rm->registryObject, callbackMethod,
|
||||
dto);
|
||||
(*env)->DeleteLocalRef(env, dto);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user