aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/plugin_datastore_sqlite.c
diff options
context:
space:
mode:
authorgrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2009-10-21 20:11:13 +0000
committergrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2009-10-21 20:11:13 +0000
commitb09cca28cbfae1accad4323b9ed048a411fcbef2 (patch)
treefe5c43274fed435ac3d81a5c0270f925de114ea0 /src/datastore/plugin_datastore_sqlite.c
parent42ca5fc97f0e7807efee9b7c0ce7bd15561a4958 (diff)
fix
git-svn-id: https://gnunet.org/svn/gnunet@9238 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/datastore/plugin_datastore_sqlite.c')
-rw-r--r--src/datastore/plugin_datastore_sqlite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datastore/plugin_datastore_sqlite.c b/src/datastore/plugin_datastore_sqlite.c
index 3f05280a84..2e8b53e21c 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)
{