aboutsummaryrefslogtreecommitdiff
path: root/src/statistics
diff options
context:
space:
mode:
authorgrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2009-10-25 11:05:48 +0000
committergrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2009-10-25 11:05:48 +0000
commitc3362cbab917ad3f7d9de0b4e00d1ebd79a91501 (patch)
treefe2b8b48fd6b957cec35b0c5b56064005ef397e2 /src/statistics
parent6dfcc99b98b8541689ef22b84d5abbfb2a1e2ae1 (diff)
need to free current
git-svn-id: https://gnunet.org/svn/gnunet@9277 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/statistics')
-rw-r--r--src/statistics/statistics_api.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/statistics/statistics_api.c b/src/statistics/statistics_api.c
index 9606d20d14..86950ad4ce 100644
--- a/src/statistics/statistics_api.c
+++ b/src/statistics/statistics_api.c
@@ -508,6 +508,8 @@ GNUNET_STATISTICS_destroy (struct GNUNET_STATISTICS_Handle *h,
{
GNUNET_CLIENT_notify_transmit_ready_cancel (h->th);
h->th = NULL;
+ free_action_item (h->current);
+ h->current = NULL;
}
}
pos = h->action_head;