aboutsummaryrefslogtreecommitdiff
path: root/src/identity/plugin_rest_identity.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/identity/plugin_rest_identity.c')
-rw-r--r--src/identity/plugin_rest_identity.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/identity/plugin_rest_identity.c b/src/identity/plugin_rest_identity.c
index 009a01f16..02e42d03f 100644
--- a/src/identity/plugin_rest_identity.c
+++ b/src/identity/plugin_rest_identity.c
@@ -1065,7 +1065,8 @@ ego_create (struct GNUNET_REST_RequestHandle *con_handle,
1065 GNUNET_STRINGS_string_to_data (privkey, 1065 GNUNET_STRINGS_string_to_data (privkey,
1066 strlen (privkey), 1066 strlen (privkey),
1067 &pk, 1067 &pk,
1068 sizeof(struct GNUNET_CRYPTO_EcdsaPrivateKey)); 1068 sizeof(struct
1069 GNUNET_CRYPTO_EcdsaPrivateKey));
1069 pk_ptr = &pk; 1070 pk_ptr = &pk;
1070 } 1071 }
1071 else 1072 else
@@ -1422,7 +1423,7 @@ libgnunet_plugin_rest_identity_done (void *cls)
1422 1423
1423 plugin->cfg = NULL; 1424 plugin->cfg = NULL;
1424 1425
1425 GNUNET_free_non_null (allow_methods); 1426 GNUNET_free (allow_methods);
1426 GNUNET_free (api); 1427 GNUNET_free (api);
1427 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Identity REST plugin is finished\n"); 1428 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Identity REST plugin is finished\n");
1428 return NULL; 1429 return NULL;