commit 49b8963dcd22ed6b4a3d9118994c1689586ea2e40bbc4d57db5216972f887cfc from: Stefan Sperling date: Sat Dec 28 13:52:03 2024 UTC make got-read-gitconfig clear its imsgbuf before exit in an error case commit - 306bdd274dce054b231881e01e05b2b541cd1280882e022346407f930c80ddda commit + 49b8963dcd22ed6b4a3d9118994c1689586ea2e40bbc4d57db5216972f887cfc blob - 7c20f7e78a379630680a2fc9ce7ed294b1a2a6b992209c7f21aee8508cf30055 blob + 2d68d8873e758c6d2e4b9ca742d079a71274669ddc72f93b0e2b9b2fb61bfd5a --- libexec/got-read-gitconfig/got-read-gitconfig.c +++ libexec/got-read-gitconfig/got-read-gitconfig.c @@ -358,6 +358,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