From: Christian Grothoff Date: Wed, 21 Oct 2009 20:11:13 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~23286 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=039b9f809133496854e273db9f29c49af9355dd1;p=oweals%2Fgnunet.git fix --- 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) {