commit cf46acf1b409f7987c7dfabdeb6b7f0bbf69a264 from: Stefan Sperling via: Thomas Adam date: Fri Jan 03 10:46:48 2025 UTC make got-read-commit clear its imsgbuf before exiting in an error case commit - 021a150f93a1333d3cb56e25b12b77f671569dd1 commit + cf46acf1b409f7987c7dfabdeb6b7f0bbf69a264 blob - 7306d6222c41ecfda4f54031e1b02ab4b0682e8b blob + 30c2fe89afda74364f8b9e0f1c8128d1edd63862 --- libexec/got-read-commit/got-read-commit.c +++ libexec/got-read-commit/got-read-commit.c @@ -70,6 +70,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; }