Skip to content

Commit 10988dc

Browse files
committed
Call posix_spawnattr_destroy (generally noop, but by contract...)
1 parent f517e25 commit 10988dc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

process.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4673,6 +4673,8 @@ rb_posix_spawn(struct rb_execarg *eargp)
46734673
}
46744674

46754675
err = posix_spawn(&pid, abspath, NULL, &attr, argv, envp);
4676+
posix_spawnattr_destroy(&attr);
4677+
46764678
if (err) {
46774679
rb_sys_fail(abspath);
46784680
}

0 commit comments

Comments
 (0)