Skip to content

Commit

Permalink
[fix](jni)fix jni defer deletelocalref
Browse files Browse the repository at this point in the history
  • Loading branch information
hubgeter committed Nov 11, 2024
1 parent a8999f5 commit 10fe743
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion be/src/util/jni-util.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ class JniUtil;

#define JNI_CALL_METHOD_CHECK_EXCEPTION_DELETE_REF(type, result, env, func) \
type result = env->func; \
DEFER(env->DeleteLocalRef(result)); \
RETURN_ERROR_IF_EXC(env)

#define JNI_CALL_METHOD_CHECK_EXCEPTION(type, result, env, func) \
Expand Down

0 comments on commit 10fe743

Please sign in to comment.