commit | 0e1c7ef17722081497e0ae6757d02e649454646a | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Thu Jan 15 16:56:41 2015 -0500 |
committer | Leon Scroggins <scroggo@google.com> | Thu Feb 19 12:46:17 2015 +0000 |
tree | a2a9858bbd66ddd2411b6183812bd8c85635d213 | |
parent | 135f5dc7b1302ba3cab48f4738d5ed1450bcb896 [diff] |
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) (cherry picked from commit a9ccf6f358d544eedc9432ca81da3d3c76b0e65a)