This commit is contained in:
Christian Grothoff 2019-09-15 12:10:44 +02:00
parent 3a8581bc5e
commit a3d272eb9d
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 3 additions and 2 deletions

View File

@ -961,6 +961,7 @@ decode_keys_json (const json_t *resp_obj,
/* Okay, but why breaking here? It could be that the /* Okay, but why breaking here? It could be that the
* user redownloaded all the keys in a forced way. */ * user redownloaded all the keys in a forced way. */
GNUNET_break_op (0 == current); GNUNET_break_op (0 == current);
GNUNET_CRYPTO_rsa_public_key_free (dk.key.rsa_public_key);
continue; continue;
} }
if (key_data->denom_keys_size == key_data->num_denom_keys) if (key_data->denom_keys_size == key_data->num_denom_keys)

View File

@ -44,7 +44,7 @@ struct SerializeKeysState
* from, after keys serialization. This value is then needed by * from, after keys serialization. This value is then needed by
* subsequent commands that have to reconnect to the exchagne. * subsequent commands that have to reconnect to the exchagne.
*/ */
const char *exchange_url; char *exchange_url;
}; };
@ -120,7 +120,7 @@ serialize_keys_cleanup (void *cls,
{ {
json_decref (sks->keys); json_decref (sks->keys);
} }
GNUNET_free ((char *) sks->exchange_url); GNUNET_free (sks->exchange_url);
GNUNET_free (sks); GNUNET_free (sks);
} }