Commit Diff
--- libexec/got-read-blob/got-read-blob.c +++ libexec/got-read-blob/got-read-blob.c @@ -161,6 +161,7 @@ main(int argc, char *argv[]) err = got_privsep_send_blob(&ibuf, size, obj->hdrlen, buf); done: + free(buf); if (f) { if (fclose(f) != 0 && err == NULL) err = got_error_from_errno("fclose");