commit 3cb0a77cc0b13a635a404fc5a7eeec6ae4534fc7 from: Stefan Sperling date: Sat Dec 28 13:56:59 2024 UTC make got-read-tree clear its imsgbuf before exiting in an error case commit - 9448e757906ca2778724c31cebbe829dbfc07c53 commit + 3cb0a77cc0b13a635a404fc5a7eeec6ae4534fc7 blob - 417db9c87500ce3e9b5dcc9a6784d94fa465f657 blob + 3cde4c729daf1a22000618769def9f301f46052e --- libexec/got-read-tree/got-read-tree.c +++ libexec/got-read-tree/got-read-tree.c @@ -74,6 +74,7 @@ main(int argc, char *argv[]) if (pledge("stdio recvfd", NULL) == -1) { err = got_error_from_errno("pledge"); got_privsep_send_error(&ibuf, err); + imsgbuf_clear(&ibuf); return 1; } #endif