aboutsummaryrefslogtreecommitdiff
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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/namestore/plugin_rest_namestore.c b/src/namestore/plugin_rest_namestore.c
index 39b21c233..1d8c180fb 100644
--- a/src/namestore/plugin_rest_namestore.c
+++ b/src/namestore/plugin_rest_namestore.c
@@ -628,6 +628,7 @@ namestore_add (struct GNUNET_REST_RequestHandle *con_handle,
628 json_decref (data_js); 628 json_decref (data_js);
629 return; 629 return;
630 } 630 }
631 GNUNET_JSON_parse_free (gnsspec);
631 if (0 >= strlen (handle->record_name)) 632 if (0 >= strlen (handle->record_name))
632 { 633 {
633 handle->emsg = GNUNET_strdup (GNUNET_REST_NAMESTORE_INVALID_DATA); 634 handle->emsg = GNUNET_strdup (GNUNET_REST_NAMESTORE_INVALID_DATA);