commit | 3773c6ec2bcf603cfa2b16575022642b3e816297 | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Thu Jan 15 16:56:41 2015 -0500 |
committer | Leon Scroggins III <scroggo@google.com> | Thu Jan 15 16:56:41 2015 -0500 |
tree | 034afcc58a2cdd74d75970164a7a75cbeb0ce38f | |
parent | 4c8e0b762644e9189b035c7f4a541ba8d0ed262c [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