From 10b693ace428f7619d3dfc393d8ca4e6e93b91fd Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura Date: Thu, 26 Mar 2015 19:29:03 +0100 Subject: db: fix SIGSEGV in testcase --- src/mint/test_mint_db.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mint/test_mint_db.c b/src/mint/test_mint_db.c index abc701ae5..13823ba86 100644 --- a/src/mint/test_mint_db.c +++ b/src/mint/test_mint_db.c @@ -55,7 +55,7 @@ static int result; static int check_reserve (struct TALER_MINTDB_Session *session, const struct TALER_ReservePublicKey *pub, - uint32_t value, + uint64_t value, uint32_t fraction, const char *currency, uint64_t expiry) @@ -151,6 +151,7 @@ run (void *cls, dkp = NULL; rh = NULL; wire = NULL; + session = NULL; ZR_BLK (&cbc); ZR_BLK (&cbc2); if (GNUNET_OK != -- cgit v1.2.3