Added missing JNI delete code