Skip to content

Commit

Permalink
Explicitly delete localref
Browse files Browse the repository at this point in the history
  • Loading branch information
erkkah committed Jul 20, 2023
1 parent 004cafa commit e38db13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/naett_android.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ static void* processRequest(void* data) {

(*env)->DeleteLocalRef(env, name);
(*env)->DeleteLocalRef(env, value);
(*env)->DeleteLocalRef(env, values);
}

int statusCode = intCall(env, connection, "getResponseCode", "()I");
Expand Down

0 comments on commit e38db13

Please sign in to comment.