fix use after free
This commit is contained in:
parent
0f43ab72ae
commit
258263a510
@ -189,16 +189,17 @@ run (void *cls,
|
|||||||
global_ret = 1;
|
global_ret = 1;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
GNUNET_free (masters);
|
|
||||||
if (0 != GNUNET_memcmp (&mpub,
|
if (0 != GNUNET_memcmp (&mpub,
|
||||||
&mpub_cfg))
|
&mpub_cfg))
|
||||||
{
|
{
|
||||||
fprintf (stderr,
|
fprintf (stderr,
|
||||||
"Master public key `%s' in configuration does not match our master private key!\n",
|
"Master public key `%s' in configuration does not match our master private key!\n",
|
||||||
masters);
|
masters);
|
||||||
|
GNUNET_free (masters);
|
||||||
global_ret = 1;
|
global_ret = 1;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
GNUNET_free (masters);
|
||||||
TALER_EXCHANGEDB_find_accounts (cfg,
|
TALER_EXCHANGEDB_find_accounts (cfg,
|
||||||
&sign_account_data,
|
&sign_account_data,
|
||||||
NULL);
|
NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user