db: fix SIGSEGV in testcase
This commit is contained in:
parent
2a5691d8f8
commit
10b693ace4
@ -55,7 +55,7 @@ static int result;
|
|||||||
static int
|
static int
|
||||||
check_reserve (struct TALER_MINTDB_Session *session,
|
check_reserve (struct TALER_MINTDB_Session *session,
|
||||||
const struct TALER_ReservePublicKey *pub,
|
const struct TALER_ReservePublicKey *pub,
|
||||||
uint32_t value,
|
uint64_t value,
|
||||||
uint32_t fraction,
|
uint32_t fraction,
|
||||||
const char *currency,
|
const char *currency,
|
||||||
uint64_t expiry)
|
uint64_t expiry)
|
||||||
@ -151,6 +151,7 @@ run (void *cls,
|
|||||||
dkp = NULL;
|
dkp = NULL;
|
||||||
rh = NULL;
|
rh = NULL;
|
||||||
wire = NULL;
|
wire = NULL;
|
||||||
|
session = NULL;
|
||||||
ZR_BLK (&cbc);
|
ZR_BLK (&cbc);
|
||||||
ZR_BLK (&cbc2);
|
ZR_BLK (&cbc2);
|
||||||
if (GNUNET_OK !=
|
if (GNUNET_OK !=
|
||||||
|
Loading…
Reference in New Issue
Block a user