commit c77fac0e6a937063b0e2b825f888bf2fdacdc66e
parent 94c245879a51646fefdb6d065dd153b4b2fd4205
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 13 Jul 2026 00:19:13 +0200
-fix leak
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/backenddb/select_otp.c b/src/backenddb/select_otp.c
@@ -35,7 +35,7 @@ TALER_MERCHANTDB_select_otp (
GNUNET_PQ_query_param_string (otp_id),
GNUNET_PQ_query_param_end
};
- uint32_t pos32;
+ uint32_t pos32 = TALER_MCA_NONE;
struct GNUNET_PQ_ResultSpec rs[] = {
GNUNET_PQ_result_spec_string ("otp_description",
&td->otp_description),
diff --git a/src/backenddb/set_instance.c b/src/backenddb/set_instance.c
@@ -49,7 +49,7 @@ TALER_MERCHANTDB_set_instance (
if (NULL == instance_id)
{
- pg->current_merchant_id = 0;
+ GNUNET_free (pg->current_merchant_id);
pg->current_merchant_serial = 0;
memset (&pg->current_merchant_pub,
0,