diff options
author | Schanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de> | 2018-07-23 13:32:54 +0200 |
---|---|---|
committer | Schanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de> | 2018-07-23 13:32:54 +0200 |
commit | 6c4bd20776ce2dd060beee9abd7baaf7d38c4988 (patch) | |
tree | 4aa11598d30d9ad56d95029a7c734e8b57aa696f /src/reclaim/plugin_rest_openid_connect.c | |
parent | 97b5905aac2954fd0ce618b86ae80d11671fa1ba (diff) | |
download | gnunet-6c4bd20776ce2dd060beee9abd7baaf7d38c4988.tar.gz gnunet-6c4bd20776ce2dd060beee9abd7baaf7d38c4988.zip |
fixes
Diffstat (limited to 'src/reclaim/plugin_rest_openid_connect.c')
-rw-r--r-- | src/reclaim/plugin_rest_openid_connect.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/reclaim/plugin_rest_openid_connect.c b/src/reclaim/plugin_rest_openid_connect.c index 06815d9d1..1846df901 100644 --- a/src/reclaim/plugin_rest_openid_connect.c +++ b/src/reclaim/plugin_rest_openid_connect.c | |||
@@ -903,8 +903,7 @@ lookup_redirect_uri_result (void *cls, | |||
903 | (unsigned char) '/'); | 903 | (unsigned char) '/'); |
904 | *pos = '\0'; | 904 | *pos = '\0'; |
905 | handle->redirect_suffix = GNUNET_strdup (pos + 1); | 905 | handle->redirect_suffix = GNUNET_strdup (pos + 1); |
906 | GNUNET_free (tmp); | 906 | |
907 | |||
908 | GNUNET_STRINGS_string_to_data (tmp_key_str, | 907 | GNUNET_STRINGS_string_to_data (tmp_key_str, |
909 | strlen (tmp_key_str), | 908 | strlen (tmp_key_str), |
910 | &redirect_zone, | 909 | &redirect_zone, |
@@ -917,6 +916,8 @@ lookup_redirect_uri_result (void *cls, | |||
917 | handle, | 916 | handle, |
918 | &get_client_name_result, | 917 | &get_client_name_result, |
919 | handle); | 918 | handle); |
919 | GNUNET_free (tmp); | ||
920 | |||
920 | } | 921 | } |
921 | 922 | ||
922 | /** | 923 | /** |
@@ -1476,7 +1477,6 @@ check_authorization (struct RequestHandle *handle, | |||
1476 | cid, | 1477 | cid, |
1477 | sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey)); | 1478 | sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey)); |
1478 | 1479 | ||
1479 | GNUNET_free (client_id); | ||
1480 | GNUNET_free (basic_authorization); | 1480 | GNUNET_free (basic_authorization); |
1481 | return GNUNET_OK; | 1481 | return GNUNET_OK; |
1482 | } | 1482 | } |