commit dba4c72d90d9e9ee7d7c19044f158d010684a7dc
parent 54fe7eecc663372ed2b42349bc0038b302d587fd
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 29 Jul 2026 17:15:15 +0200
free the truth read back when checking for an idempotent re-upload
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/backend/anastasis-httpd_truth-upload.c b/src/backend/anastasis-httpd_truth-upload.c
@@ -782,6 +782,7 @@ AH_handler_truth_post (
/* NOTE: do NOT free encrypted_truth here; it is owned by `spec`
and released by GNUNET_JSON_parse_free (spec) below. Freeing it
here caused a double free on the idempotent fall-through. */
+ GNUNET_free (xtruth);
GNUNET_free (xtruth_mime);
GNUNET_free (xmethod);
}