From 42e9cf63a0d68ee73a3823a92d2b718372783607 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 1 Mar 2025 23:30:21 +0100 Subject: [PATCH] clarify what is happening --- src/include/microhttpd2_main.h.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/microhttpd2_main.h.in b/src/include/microhttpd2_main.h.in index 402fbf6c..f438c3e6 100644 --- a/src/include/microhttpd2_main.h.in +++ b/src/include/microhttpd2_main.h.in @@ -1476,10 +1476,10 @@ MHD_response_from_callback (enum MHD_HTTP_StatusCode sc, * needs to be valid while the response is used * @param free_cb the callback to free any allocated data, called * when response is being destroyed, can be NULL - * to skip the free/cleanup callback + * to skip the free/cleanup callback; * @param free_cb_cls the parameter for @a free_cb * @return NULL on error (i.e. invalid arguments, out of memory) - * FIXME: Call free callback on error? + * on error, @a free_cb is NOT called * @ingroup response */ MHD_EXTERN_ struct MHD_Response *