From: Schanzenbach, Martin Date: Wed, 28 Nov 2018 08:42:24 +0000 (+0100) Subject: REST: free header X-Git-Tag: v0.11.0~200 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f38b77438b16d13a8820b671d0e0a75da0fc1ead;p=oweals%2Fgnunet.git REST: free header --- diff --git a/src/rest-plugins/plugin_rest_openid_connect.c b/src/rest-plugins/plugin_rest_openid_connect.c index 8f11455b4..3cf4d4360 100644 --- a/src/rest-plugins/plugin_rest_openid_connect.c +++ b/src/rest-plugins/plugin_rest_openid_connect.c @@ -1450,7 +1450,8 @@ login_cont (struct GNUNET_REST_RequestHandle *con_handle, GNUNET_CONTAINER_MULTIHASHMAPOPTION_REPLACE); } handle->proc (handle->proc_cls, resp, MHD_HTTP_OK); - GNUNET_free(cookie); + GNUNET_free (cookie); + GNUNET_free (header_val); json_decref (root); GNUNET_SCHEDULER_add_now (&cleanup_handle_delayed, handle); }