commit 3cbb324552868d3b60dda1c422363d5174b92ab0 parent 4a08535168c35630675b1cd2b855a8b3d63867b0 Author: Christian Grothoff <christian@grothoff.org> Date: Sun, 11 Oct 2026 15:01:05 +0200 propagate failure to client Diffstat:
| M | src/mhd/mhd_typst.c | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/mhd/mhd_typst.c b/src/mhd/mhd_typst.c @@ -450,6 +450,11 @@ complete_response (void *cls) "fork"); GNUNET_process_destroy (tc->proc); tc->proc = NULL; + /* The caller still holds @a tc until its callback runs, + so we must tell it before freeing @a tc. */ + typst_context_fail (tc, + TALER_EC_EXCHANGE_GENERIC_PDFTK_FAILURE, + "could not start pdftk"); TALER_MHD_typst_cancel (tc); return; }