fix leak
This commit is contained in:
parent
d58af13887
commit
53c21c441b
@ -317,6 +317,8 @@ refund_transaction (void *cls,
|
||||
&dep->deposit_fee)) )
|
||||
{
|
||||
GNUNET_break_op (0); /* currency missmatch */
|
||||
TEH_plugin->free_coin_transaction_list (TEH_plugin->cls,
|
||||
tl);
|
||||
*mhd_ret = reply_refund_failure (connection,
|
||||
MHD_HTTP_PRECONDITION_FAILED,
|
||||
TALER_EC_REFUND_CURRENCY_MISSMATCH);
|
||||
|
@ -117,7 +117,6 @@ main (int argc,
|
||||
char *const argv[])
|
||||
{
|
||||
const char *plugin_name;
|
||||
char *testname;
|
||||
|
||||
/* these might get in the way */
|
||||
unsetenv ("XDG_DATA_HOME");
|
||||
@ -132,13 +131,17 @@ main (int argc,
|
||||
return -1;
|
||||
}
|
||||
plugin_name++;
|
||||
(void) GNUNET_asprintf (&testname,
|
||||
"test-taler-exchange-wirewatch-%s",
|
||||
plugin_name);
|
||||
(void) GNUNET_asprintf (&config_filename,
|
||||
"%s.conf",
|
||||
testname);
|
||||
{
|
||||
char *testname;
|
||||
|
||||
GNUNET_asprintf (&testname,
|
||||
"test-taler-exchange-wirewatch-%s",
|
||||
plugin_name);
|
||||
GNUNET_asprintf (&config_filename,
|
||||
"%s.conf",
|
||||
testname);
|
||||
GNUNET_free (testname);
|
||||
}
|
||||
/* check database is working */
|
||||
{
|
||||
struct GNUNET_PQ_Context *conn;
|
||||
|
Loading…
Reference in New Issue
Block a user