Skip to content

Commit

Permalink
Merge pull request #713 from cole-miller/fix-exec-apply-leak
Browse files Browse the repository at this point in the history
Fix frames leak when VfsPoll fails
  • Loading branch information
cole-miller authored Oct 17, 2024
2 parents 76f1e7c + 35a3242 commit f48c244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/leader.c
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ static int exec_apply(struct exec *req)

rv = VfsPoll(vfs, db->path, &frames, &n);
if (rv != 0) {
return rv;
goto finish;
}
sm_move(&req->sm, EXEC_POLLED);
if (n == 0) {
Expand Down

0 comments on commit f48c244

Please sign in to comment.