free currency memory on free_key_data(), ref #6744

This commit is contained in:
Sebastian 2021-02-16 11:20:42 -03:00
parent 97e404e81a
commit 2ed7eb7a8b
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1

View File

@ -1008,6 +1008,8 @@ free_key_data (struct TALER_EXCHANGE_Keys *key_data)
0);
GNUNET_free (key_data->version);
key_data->version = NULL;
GNUNET_free (key_data->currency);
key_data->currency = NULL;
}