commit 57a51a507704f0dd91c88a435d6014f6dcf0c9e5 from: Stefan Sperling date: Sat Dec 28 13:50:48 2024 UTC make got-read-commit clear its imsgbuf before exiting in an error case commit - 77f25f24272499407816ad8c03057dd0ddde3d3f commit + 57a51a507704f0dd91c88a435d6014f6dcf0c9e5 blob - 034a161e98bbbad416b248ee00dd5079f9b72335 blob + 1c9530650e49205611fe769567650b4ac85a912c --- libexec/got-read-commit/got-read-commit.c +++ libexec/got-read-commit/got-read-commit.c @@ -71,6 +71,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