From 039b9f809133496854e273db9f29c49af9355dd1 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 21 Oct 2009 20:11:13 +0000 Subject: [PATCH] fix --- src/datastore/plugin_datastore_sqlite.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/datastore/plugin_datastore_sqlite.c b/src/datastore/plugin_datastore_sqlite.c index 3f05280a8..2e8b53e21 100644 --- a/src/datastore/plugin_datastore_sqlite.c +++ b/src/datastore/plugin_datastore_sqlite.c @@ -1634,10 +1634,10 @@ libgnunet_plugin_datastore_sqlite_done (void *cls) if (plugin->drop_on_shutdown) fn = GNUNET_strdup (plugin->fn); database_shutdown (plugin); - plugin->env = NULL; - plugin->payload = 0; GNUNET_STATISTICS_destroy (plugin->statistics); GNUNET_ARM_stop_services (plugin->env->cfg, plugin->env->sched, "statistics", NULL); + plugin->env = NULL; + plugin->payload = 0; GNUNET_free (api); if (fn != NULL) { -- 2.25.1