Skip to content

Commit

Permalink
8318955: Add ReleaseIntArrayElements in Java_sun_awt_X11_XlibWrapper_…
Browse files Browse the repository at this point in the history
…SetBitmapShape XlbWrapper.c to early return

Backport-of: 81db1721d4fac954003441ca2c3c29b0998d310d
  • Loading branch information
MBaesken committed Jan 18, 2024
1 parent 0e8244b commit 51d944e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2300,6 +2300,7 @@ Java_sun_awt_X11_XlibWrapper_SetBitmapShape

pRect = (RECT_T *)SAFE_SIZE_ARRAY_ALLOC(malloc, worstBufferSize, sizeof(RECT_T));
if (!pRect) {
(*env)->ReleaseIntArrayElements(env, bitmap, values, JNI_ABORT);
return;
}

Expand Down

0 comments on commit 51d944e

Please sign in to comment.