summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-12-24 23:16:35 +0100
committerChristian Grothoff <christian@grothoff.org>2019-12-24 23:16:35 +0100
commit30d243b7e88b0f307967af6bed162c49247ac2b6 (patch)
tree6011739b32109a88cc3240e52e22c60f015467df
parent2fdc21f7d7367b13f21bddee4fbe86e0f91c9b55 (diff)
downloadexchange-30d243b7e88b0f307967af6bed162c49247ac2b6.tar.gz
exchange-30d243b7e88b0f307967af6bed162c49247ac2b6.tar.bz2
exchange-30d243b7e88b0f307967af6bed162c49247ac2b6.zip
ship master priv, exchange_url can be null
-rw-r--r--src/lib/Makefile.am1
-rw-r--r--src/lib/testing_api_cmd_serialize_keys.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
index 9b7dc10b..f971d492 100644
--- a/src/lib/Makefile.am
+++ b/src/lib/Makefile.am
@@ -284,6 +284,7 @@ EXTRA_DIST = \
test_exchange_api_home/.config/taler/account-2.json \
test_exchange_api_keys_cherry_picking_home/.config/taler/x-taler-bank.json \
test_exchange_api_keys_cherry_picking_home/.local/share/taler/exchange/wirefees/x-taler-bank.fee \
+ test_exchange_api_keys_cherry_picking_home/.local/share/taler/exchange/offline-keys/master.priv \
test_exchange_api_home/.config/taler/test.json \
test_exchange_api_home/.config/taler/sepa.json \
test_exchange_api.conf \
diff --git a/src/lib/testing_api_cmd_serialize_keys.c b/src/lib/testing_api_cmd_serialize_keys.c
index 60c63b31..aa07b1f3 100644
--- a/src/lib/testing_api_cmd_serialize_keys.c
+++ b/src/lib/testing_api_cmd_serialize_keys.c
@@ -120,7 +120,7 @@ serialize_keys_cleanup (void *cls,
{
json_decref (sks->keys);
}
- GNUNET_free (sks->exchange_url);
+ GNUNET_free_non_null (sks->exchange_url);
GNUNET_free (sks);
}