From 6c4bd20776ce2dd060beee9abd7baaf7d38c4988 Mon Sep 17 00:00:00 2001 From: "Schanzenbach, Martin" Date: Mon, 23 Jul 2018 13:32:54 +0200 Subject: fixes --- src/reclaim/plugin_rest_openid_connect.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/reclaim/plugin_rest_openid_connect.c') 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, (unsigned char) '/'); *pos = '\0'; handle->redirect_suffix = GNUNET_strdup (pos + 1); - GNUNET_free (tmp); - + GNUNET_STRINGS_string_to_data (tmp_key_str, strlen (tmp_key_str), &redirect_zone, @@ -917,6 +916,8 @@ lookup_redirect_uri_result (void *cls, handle, &get_client_name_result, handle); + GNUNET_free (tmp); + } /** @@ -1476,7 +1477,6 @@ check_authorization (struct RequestHandle *handle, cid, sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey)); - GNUNET_free (client_id); GNUNET_free (basic_authorization); return GNUNET_OK; } -- cgit v1.2.3