summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-15 20:17:13 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-15 20:17:13 +0200
commit199c806ee255ca0725b9a0d6dd54c9dd2a16d616 (patch)
tree9d9c3452eba0e6edb24dc81254d91b2f834496b9
parent550ba62a916bdd8f0259e6eb8e631da2f76387b9 (diff)
downloadmerchant-199c806ee255ca0725b9a0d6dd54c9dd2a16d616.tar.gz
merchant-199c806ee255ca0725b9a0d6dd54c9dd2a16d616.tar.bz2
merchant-199c806ee255ca0725b9a0d6dd54c9dd2a16d616.zip
fix #6429
-rw-r--r--src/backend/taler-merchant-httpd_private-post-instances.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_private-post-instances.c b/src/backend/taler-merchant-httpd_private-post-instances.c
index ae583e75..c89b28ff 100644
--- a/src/backend/taler-merchant-httpd_private-post-instances.c
+++ b/src/backend/taler-merchant-httpd_private-post-instances.c
@@ -298,7 +298,13 @@ TMH_private_post_instances (const struct TMH_RequestHandler *rh,
}
wm->wire_method
= TALER_payto_get_method (json_string_value (payto_uri));
- GNUNET_assert (NULL != wm->wire_method);
+ if (NULL == wm->wire_method)
+ {
+ GNUNET_break_op (0);
+ payto_ok = false;
+ GNUNET_free (wm);
+ break;
+ }
wm->active = true;
GNUNET_CONTAINER_DLL_insert (wm_head,
wm_tail,