commit b5f9e24e3309e95acdd6da8bd4fccdd8a93e2b33
parent fd0800e5b15299a317e6c88901ad26bf8cb4de68
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 12 Jul 2026 23:55:31 +0200
init to NULL, optional arg
Diffstat:
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_post-private-donau.c b/src/backend/taler-merchant-httpd_post-private-donau.c
@@ -343,7 +343,6 @@ TMH_private_post_donau_instance (const struct TMH_RequestHandler *rh,
if (NULL == pdc->get_handle)
{
GNUNET_break (0);
- GNUNET_free (pdc);
return TALER_MHD_reply_with_error (connection,
MHD_HTTP_SERVICE_UNAVAILABLE,
TALER_EC_GENERIC_ALLOCATION_FAILURE,
diff --git a/src/backend/taler-merchant-httpd_post-private-token.c b/src/backend/taler-merchant-httpd_post-private-token.c
@@ -45,7 +45,7 @@ TMH_private_post_instances_ID_token (const struct TMH_RequestHandler *rh,
struct TMH_MerchantInstance *mi = hc->instance;
json_t *jtoken = hc->request_body;
const char *scope;
- const char *description;
+ const char *description = NULL;
enum TMH_AuthScope iscope = TMH_AS_NONE;
bool refreshable = false;
struct TALER_MERCHANTDB_LoginTokenP btoken;