diff options
Diffstat (limited to 'src/reclaim/plugin_rest_reclaim.c')
-rw-r--r-- | src/reclaim/plugin_rest_reclaim.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/reclaim/plugin_rest_reclaim.c b/src/reclaim/plugin_rest_reclaim.c index 022744c82..84456b386 100644 --- a/src/reclaim/plugin_rest_reclaim.c +++ b/src/reclaim/plugin_rest_reclaim.c | |||
@@ -974,9 +974,11 @@ attr_collect (void *cls, | |||
974 | id_str = GNUNET_STRINGS_data_to_string_alloc (&attr->id, | 974 | id_str = GNUNET_STRINGS_data_to_string_alloc (&attr->id, |
975 | sizeof(attr->id)); | 975 | sizeof(attr->id)); |
976 | json_object_set_new (attr_obj, "id", json_string (id_str)); | 976 | json_object_set_new (attr_obj, "id", json_string (id_str)); |
977 | GNUNET_free (id_str); | ||
977 | id_str = GNUNET_STRINGS_data_to_string_alloc (&attr->credential, | 978 | id_str = GNUNET_STRINGS_data_to_string_alloc (&attr->credential, |
978 | sizeof(attr->credential)); | 979 | sizeof(attr->credential)); |
979 | json_object_set_new (attr_obj, "credential", json_string (id_str)); | 980 | json_object_set_new (attr_obj, "credential", json_string (id_str)); |
981 | GNUNET_free (id_str); | ||
980 | json_array_append (handle->resp_object, attr_obj); | 982 | json_array_append (handle->resp_object, attr_obj); |
981 | json_decref (attr_obj); | 983 | json_decref (attr_obj); |
982 | GNUNET_free (tmp_value); | 984 | GNUNET_free (tmp_value); |