commit | 4e5eaacc5996220726f237d7345a44ab962a2141 | [log] [tgz] |
---|---|---|
author | Eric Paris <eparis@redhat.com> | Tue Feb 05 19:30:42 2013 -0500 |
committer | Eric Paris <eparis@redhat.com> | Tue Feb 05 20:21:52 2013 -0500 |
tree | f2fb2897c29e976a89d7c32331d9ff40903dcefd | |
parent | 1e8f102e8cec4ae84f09cc595013234398270366 [diff] |
libselinux: matchmediacon: do not leak fd Every time matchmediacon is called we open the selinux_media_context_path(). But we never close the file. Close the file when we are finished with it. Signed-off-by: Eric Paris <eparis@redhat.com>