Commit Diff
--- libexec/got-read-object/got-read-object.c +++ libexec/got-read-object/got-read-object.c @@ -110,6 +110,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