summaryrefslogtreecommitdiff
path: root/src/rps/gnunet-service-rps_view.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rps/gnunet-service-rps_view.c')
-rw-r--r--src/rps/gnunet-service-rps_view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rps/gnunet-service-rps_view.c b/src/rps/gnunet-service-rps_view.c
index 3af858e60..17fec559d 100644
--- a/src/rps/gnunet-service-rps_view.c
+++ b/src/rps/gnunet-service-rps_view.c
@@ -282,7 +282,9 @@ View_destroy (struct View *view)
{
View_clear (view);
GNUNET_free (view->array);
+ view->array = NULL;
GNUNET_CONTAINER_multipeermap_destroy (view->mpm);
+ GNUNET_free (view);
}
/* end of gnunet-service-rps_view.c */