Skip to content

Commit

Permalink
Fixes #949
Browse files Browse the repository at this point in the history
  • Loading branch information
lhazlewood committed Jun 16, 2024
1 parent 39249dc commit 533ce40
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ private byte[] verifySignature(final TokenizedJwt tokenized, final JwsHeader jws
// consumable, but not claims, so convert to byte array:
payloadBytes = Streams.bytes(in, "Unable to convert payload to byte array.");
}
} finally {
} finally { // always ensure closed per https://github.com/jwtk/jjwt/issues/949
Objects.nullSafeClose(in);
}
}
Expand Down

0 comments on commit 533ce40

Please sign in to comment.