Android CTS 5.1 Release 25 (4400433)
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCWfkURQAKCRDorT+BmrEO
eMJQAJ4o6cWk2prndbwoVDTAx9E9isDvMQCcDTKmyQQz+vfppk/amK/WoGsJbmw=
=6s2S
-----END PGP SIGNATURE-----
Fix bugs in jmem-ashmem.
If ashmem_set_prot_region fails, close the previously opened file.
If mmap fails, close the file and return -1.
BUG:18894965
Change-Id: I936b5c7395480249b1457e7dee566da6141fb023
(cherry picked from commit 3773c6ec2bcf603cfa2b16575022642b3e816297)
1 file changed