-fix crash

This commit is contained in:
Christian Grothoff 2023-07-21 15:22:46 +02:00
parent e352fdd356
commit 7b258d4bdf
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -1629,8 +1629,11 @@ begin_debit_audit (void)
static void
conclude_credit_history (void)
{
if (NULL != in_map)
{
GNUNET_CONTAINER_multihashmap_destroy (in_map);
in_map = NULL;
}
/* credit done, now check debits */
begin_debit_audit ();
}