summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2021-02-16 11:20:42 -0300
committerSebastian <sebasjm@gmail.com>2021-02-16 11:20:42 -0300
commit2ed7eb7a8b5b5b7ece35d3e923d62bcd037f40d0 (patch)
tree841df29053ac296c3bd4b1485acb9c619c1c7e1f /src/lib
parent97e404e81a815f71550228e991a2c173f9d86cab (diff)
downloadexchange-2ed7eb7a8b5b5b7ece35d3e923d62bcd037f40d0.tar.gz
exchange-2ed7eb7a8b5b5b7ece35d3e923d62bcd037f40d0.tar.bz2
exchange-2ed7eb7a8b5b5b7ece35d3e923d62bcd037f40d0.zip
free currency memory on free_key_data(), ref #6744
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/exchange_api_handle.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c
index 8c7cbeda..a9203dea 100644
--- a/src/lib/exchange_api_handle.c
+++ b/src/lib/exchange_api_handle.c
@@ -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;
}