commit | 1e8f102e8cec4ae84f09cc595013234398270366 | [log] [tgz] |
---|---|---|
author | Eric Paris <eparis@redhat.com> | Tue Feb 05 19:15:42 2013 -0500 |
committer | Eric Paris <eparis@redhat.com> | Tue Feb 05 20:21:52 2013 -0500 |
tree | 0fb3f86ae1cdb7dd3e11424789327061c4341d7d | |
parent | 5c0d7113de359a362792801463918c406f4a6210 [diff] |
libselinux: src/label_android_property: do not leak fd on error We were opening the path, but if the fstat failed or it was not a regular file we would return without closing the fd. Fix my using the common error exit path rather than just returning. Signed-off-by: Eric Paris <eparis@redhat.com>