Skip to content

Commit

Permalink
Android: add a DeleteLocalRef call to android_get_monitor_info()
Browse files Browse the repository at this point in the history
  • Loading branch information
alemart authored and SiegeLord committed Feb 4, 2024
1 parent c731180 commit d0f9b33
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/android/android_system.c
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,8 @@ static bool android_get_monitor_info(int adapter, ALLEGRO_MONITOR_INFO *info)

ALLEGRO_DEBUG("Monitor Info: %d:%d", info->x2, info->y2);

_jni_callv(env, DeleteLocalRef, rect);

return true;
}

Expand Down

0 comments on commit d0f9b33

Please sign in to comment.