bsdcontrol_feature_set: don't forget to close 'fd'.

This commit is contained in:
0x1eef 2024-03-20 17:26:02 -03:00
parent c88d5afb10
commit 1d6fe41d39

View file

@ -62,6 +62,7 @@ bsdcontrol_feature_set(VALUE self, VALUE path, VALUE rbstate)
} }
else else
{ {
close(fd);
return Qtrue; return Qtrue;
} }
} }