Relates :
|
The code does: if (result == NULL) { free(dcmd_info_array); JNU_ThrowOutOfMemoryError(env, 0); } ... free(dcmd_info_array); JNU_ThrowOutOfMemoryError() does not cause the current function to return (it is not a macro), so free(dcmd_info_array) can be called twice.