Skip closef for property backend

In 50400d3 the selabel_open function was updated to call selabel_close
should the initialization of a backend fails. selabel_close includes a
call to the backend-specific close function: closef. This same function
is previously call, in case of an error, within the init function.

The file backend was adapted by introducing a safe guard to prevent a
double free. Update the property backend in a similar fashion.

Bug: 215387420
Test: build & boot
Change-Id: Id6b7c4d10538ccbec43b2af1de462da077f10c44
(cherry picked from commit 98fa1b865d52d97c06b754d1c2cfb69315997b65)
1 file changed