commit | ce39302fd01a4217c3de7fdb787987fada5bb33d | [log] [tgz] |
---|---|---|
author | Eric Paris <eparis@redhat.com> | Tue Feb 05 19:31:35 2013 -0500 |
committer | Eric Paris <eparis@redhat.com> | Tue Feb 05 20:21:52 2013 -0500 |
tree | a5e9e79d58a19bae5db6edec21db53c8f69610f4 | |
parent | 4e5eaacc5996220726f237d7345a44ab962a2141 [diff] |
libselinux: sefcontext_compile: do not leak fd on error We open the file which is to be used to write the binary format of file contexts. If we hit an error actually writing things out, we return, but never close the fd. Do not leak. Signed-off-by: Eric Paris <eparis@redhat.com>