aboutsummaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_batch-deposit.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-07-02 22:51:45 +0200
committerChristian Grothoff <christian@grothoff.org>2022-07-02 22:51:45 +0200
commitff2eb4f3ddf513f80e8e7dc3ab474a218ee928f4 (patch)
tree57986fff3b397ab96f88b4d7590f405ad4ce28a6 /src/exchange/taler-exchange-httpd_batch-deposit.c
parent74cf7654e5a4002787b8dd4d9ac43379142afd3f (diff)
-fix batch deposit uninit issue
Diffstat (limited to 'src/exchange/taler-exchange-httpd_batch-deposit.c')
-rw-r--r--src/exchange/taler-exchange-httpd_batch-deposit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd_batch-deposit.c b/src/exchange/taler-exchange-httpd_batch-deposit.c
index f2376564..154629ed 100644
--- a/src/exchange/taler-exchange-httpd_batch-deposit.c
+++ b/src/exchange/taler-exchange-httpd_batch-deposit.c
@@ -545,6 +545,9 @@ TEH_handler_batch_deposit (struct TEH_RequestContext *rc,
};
enum GNUNET_GenericReturnValue res;
+ memset (&dc,
+ 0,
+ sizeof (dc));
res = TALER_MHD_parse_json_data (connection,
root,
spec);