diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-02-09 09:19:56 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-02-09 09:19:56 +0100 |
commit | c3e1aa36ee671ae9c1078e7cc7e625d59e3bd008 (patch) | |
tree | cd8dd962701aa79d953c363e0e654ef374660dca | |
parent | dfc5039d9a8ab7282147500c840c721094f45f4e (diff) |
-fix leak
-rw-r--r-- | src/exchange/taler-exchange-httpd_csr.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/exchange/taler-exchange-httpd_csr.c b/src/exchange/taler-exchange-httpd_csr.c index 3c3c033e9..7417996dc 100644 --- a/src/exchange/taler-exchange-httpd_csr.c +++ b/src/exchange/taler-exchange-httpd_csr.c @@ -206,10 +206,9 @@ TEH_handler_csr (struct TEH_RequestContext *rc, GNUNET_JSON_pack_array_steal ("ewvs", csr_response_ewvs)); GNUNET_assert (NULL != csr_response); - - return TALER_MHD_reply_json (rc->connection, - csr_response, - MHD_HTTP_OK); + return TALER_MHD_reply_json_steal (rc->connection, + csr_response, + MHD_HTTP_OK); } |