bsdcontrol_feature_set: don't forget to close 'fd'.
This commit is contained in:
parent
c88d5afb10
commit
1d6fe41d39
1 changed files with 1 additions and 0 deletions
|
@ -62,6 +62,7 @@ bsdcontrol_feature_set(VALUE self, VALUE path, VALUE rbstate)
|
|||
}
|
||||
else
|
||||
{
|
||||
close(fd);
|
||||
return Qtrue;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue