commit | 0d35dd2068d6422c3c77fb68f248cbabf3d0b10c | [log] [tgz] |
---|---|---|
author | Wonsik Kim <wonsik@google.com> | Tue Sep 08 17:32:28 2015 +0900 |
committer | Wonsik Kim <wonsik@google.com> | Mon Sep 14 13:54:51 2015 +0900 |
tree | aafe76ddf9a0e1399a1791d8fbb721e9ec89efea | |
parent | 4022477b7c1e809d4ea31c47ae42555255a4ea4d [diff] |
DO NOT MERGE NuCachedSource2: fix possible erroneous early free Because the constructor of NuCachedSource2 sent a message to AHandlerReflector object, AHandlerReflector::onMessageReceived could have executed just before the object gets wrapped in a strong pointer, resulting in erroneous early free. Fix the issue by using static Create function to ensure the message is sent after the object is wrapped in a sp. Bug: 23882800 Change-Id: I38a9d7a3083f184b4c81d0b00ba1661721278855