commit 4961fc6e37f2d1bc804b6d9940f4b6faa0a0d908
parent 713cb2650ff7ca57ff4050cd10d8c52f7e25d886
Author: MS <ms@taler.net>
Date: Mon, 27 Jul 2020 17:22:11 +0200
free
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/merchant-tools/taler-merchant-setup-reserve.c b/src/merchant-tools/taler-merchant-setup-reserve.c
@@ -196,14 +196,14 @@ run (void *cls,
keypass);
if (NULL != apikey)
{
- // not assuming that libcurl copies this value.
char *auth_header;
GNUNET_assert (0 < GNUNET_asprintf (&auth_header,
- "Authorizattion: ApiKey %s",
+ "Authorization: ApiKey %s",
apikey));
GNUNET_CURL_append_header (ctx,
auth_header);
+ GNUNET_free (auth_header);
}
/* setup termination logic */