commit 298a99993bc2143f5105c77aa98c3a926b9950e3
parent 62784450db5cc33688343bd00ee25c5888e186ae
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 28 Jun 2026 09:14:35 +0200
badness
Diffstat:
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/json/conversion.c b/src/json/conversion.c
@@ -131,6 +131,7 @@ read_cb (void *cls)
GNUNET_break (0);
GNUNET_break (GNUNET_OK ==
GNUNET_DISK_file_close (ec->chld_stdin));
+ ec->chld_stdin = NULL;
return;
}
tmp = GNUNET_malloc_large (ns);
@@ -141,6 +142,7 @@ read_cb (void *cls)
"malloc");
GNUNET_break (GNUNET_OK ==
GNUNET_DISK_file_close (ec->chld_stdin));
+ ec->chld_stdin = NULL;
return;
}
GNUNET_memcpy (tmp,
diff --git a/src/mhd/mhd_typst.c b/src/mhd/mhd_typst.c
@@ -264,6 +264,7 @@ inline_pdf_stage (struct TypstStage *stage,
}
}
GNUNET_break (0 == close (fd));
+ GNUNET_free (b);
return true;
}