diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-11-30 13:24:09 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-11-30 13:24:14 +0100 |
commit | 5913955f343ff1f45d5f825c66113213c5a3fb25 (patch) | |
tree | 7b53204637a70ee928654ec738af55a7c04eef0f | |
parent | d3615c708ffcc206e97fd642b1ff6a2639831b2d (diff) | |
download | exchange-5913955f343ff1f45d5f825c66113213c5a3fb25.tar.xz |
fix NPE
-rw-r--r-- | src/exchange/taler-exchange-httpd_keys.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd_keys.c b/src/exchange/taler-exchange-httpd_keys.c index b7359392f..2a9a0097d 100644 --- a/src/exchange/taler-exchange-httpd_keys.c +++ b/src/exchange/taler-exchange-httpd_keys.c @@ -494,6 +494,8 @@ TEH_check_invariants () struct TEH_KeyStateHandle *ksh; ksh = TEH_keys_get_state (); + if (NULL == ksh) + return; GNUNET_CONTAINER_multihashmap_iterate (ksh->denomkey_map, &check_dk, NULL); |