move free functions into plugin

This commit is contained in:
Christian Grothoff 2015-03-22 13:02:49 +01:00
parent 0d3ec509d7
commit 3a94a76aac

View File

@ -322,7 +322,8 @@ run (void *cls,
if (NULL != wire) if (NULL != wire)
json_decref (wire); json_decref (wire);
if (NULL != rh) if (NULL != rh)
TALER_MINT_DB_free_reserve_history (rh); plugin->free_reserve_history (plugin->cls,
rh);
rh = NULL; rh = NULL;
if (NULL != session) if (NULL != session)
GNUNET_break (GNUNET_OK == GNUNET_break (GNUNET_OK ==