summaryrefslogtreecommitdiff
path: root/src/namestore/plugin_rest_namestore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/plugin_rest_namestore.c')
-rw-r--r--src/namestore/plugin_rest_namestore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/namestore/plugin_rest_namestore.c b/src/namestore/plugin_rest_namestore.c
index d2a93a286..c0bf4b048 100644
--- a/src/namestore/plugin_rest_namestore.c
+++ b/src/namestore/plugin_rest_namestore.c
@@ -267,7 +267,7 @@ cleanup_handle (void *cls)
for (int i = 0; i < handle->rd_count; i++)
{
if (NULL != handle->rd[i].data)
- GNUNET_free ((void *) handle->rd[i].data);
+ GNUNET_free_nz ((void *) handle->rd[i].data);
}
GNUNET_free (handle->rd);
}