aboutsummaryrefslogtreecommitdiff
path: root/src/mint/test_mint_db.c
diff options
context:
space:
mode:
authorSree Harsha Totakura <sreeharsha@totakura.in>2015-03-26 19:29:03 +0100
committerSree Harsha Totakura <sreeharsha@totakura.in>2015-03-26 19:29:03 +0100
commit10b693ace428f7619d3dfc393d8ca4e6e93b91fd (patch)
tree5f3d0ad978cd9fd9cb24160851dac04a5a4abbcc /src/mint/test_mint_db.c
parent2a5691d8f883f0648748069c4931015aafd749de (diff)
db: fix SIGSEGV in testcase
Diffstat (limited to 'src/mint/test_mint_db.c')
-rw-r--r--src/mint/test_mint_db.c3
1 files changed, 2 insertions, 1 deletions
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 !=