fixing corrupted DLL (resulting from double call to json_decref())

This commit is contained in:
Marcello Stanisci 2016-06-13 23:40:00 +02:00
parent 62b7bbabed
commit 18c22e3e2e

View File

@ -167,6 +167,12 @@ struct Coin {
*/
unsigned int refresh;
/**
* If the coin has to be refreshed, this value indicates
* how much is left on this coin
*/
struct TALER_Amount left;
/**
* Refresh melt handle
*/
@ -838,6 +844,9 @@ benchmark_run (void *cls)
json_decref (transfer_details);
}
json_decref (sender_details);
sender_details = NULL;
transfer_details = NULL;
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"benchmark_run() returns\n");
}