aboutsummaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_extensions.c
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2023-01-02 17:47:06 +0100
committerÖzgür Kesim <oec-taler@kesim.org>2023-01-02 17:47:06 +0100
commit8e6b086753d66f838a2cbdd207691c1fc5fb3a88 (patch)
tree54f2bda00e881e694f1f4442decf27dd3a94b7c5 /src/exchange/taler-exchange-httpd_extensions.c
parent4f0d85935f5577b9fc6feea5603ac7a0fa210625 (diff)
mark parameter as const; free correct object
Diffstat (limited to 'src/exchange/taler-exchange-httpd_extensions.c')
-rw-r--r--src/exchange/taler-exchange-httpd_extensions.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/exchange/taler-exchange-httpd_extensions.c b/src/exchange/taler-exchange-httpd_extensions.c
index c89a0041..ecced1fd 100644
--- a/src/exchange/taler-exchange-httpd_extensions.c
+++ b/src/exchange/taler-exchange-httpd_extensions.c
@@ -118,14 +118,14 @@ extension_update_event_cb (void *cls,
err.text,
err.source);
GNUNET_break (0);
- free (manifest_js);
+ free (manifest_str);
return;
}
// Call the parser for the extension
ret = extension->load_config (
- (struct TALER_Extension *) extension,
- json_object_get (manifest_js, "config"));
+ json_object_get (manifest_js, "config"),
+ (struct TALER_Extension *) extension);
if (GNUNET_OK != ret)
{