diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-12-01 11:26:43 +0900 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-12-01 11:26:43 +0900 |
commit | 7edc2569f7ecc0e671e25571a09d2b14d4756d5b (patch) | |
tree | 67e26422da05ff638a67a48a53f06d9212de122b /src/reclaim | |
parent | 6676ceceab99c40b2e0393a87b3bea60798a1e39 (diff) | |
download | gnunet-7edc2569f7ecc0e671e25571a09d2b14d4756d5b.tar.gz gnunet-7edc2569f7ecc0e671e25571a09d2b14d4756d5b.zip |
-fix memory leak
Diffstat (limited to 'src/reclaim')
-rw-r--r-- | src/reclaim/plugin_reclaim_credential_jwt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/reclaim/plugin_reclaim_credential_jwt.c b/src/reclaim/plugin_reclaim_credential_jwt.c index 3c33d4076..3eb4bfebf 100644 --- a/src/reclaim/plugin_reclaim_credential_jwt.c +++ b/src/reclaim/plugin_reclaim_credential_jwt.c | |||
@@ -178,6 +178,7 @@ jwt_parse_attributes (void *cls, | |||
178 | { | 178 | { |
179 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 179 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
180 | "Failed to parse JSON %s\n", jwt_string); | 180 | "Failed to parse JSON %s\n", jwt_string); |
181 | GNUNET_free (jwt_string); | ||
181 | return attrs; | 182 | return attrs; |
182 | } | 183 | } |
183 | GNUNET_STRINGS_base64url_decode (jwt_body, strlen (jwt_body), | 184 | GNUNET_STRINGS_base64url_decode (jwt_body, strlen (jwt_body), |