We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8f7a85 commit b5df2caCopy full SHA for b5df2ca
src/jwt_io.c
@@ -44,6 +44,7 @@ static foreign_t pl_jwt_parse_head(term_t in, term_t head_term) {
44
if (!jwt_result) {
45
head_payload = jwt_get_headers_json(jwt, NULL);
46
(void) PL_unify_atom_chars(head_term, head_payload);
47
+ free(head_payload);
48
jwt_free(jwt);
49
PL_succeed;
50
}
0 commit comments