commit | 63183d2980cb2ab439daf75cad5e2f952caca045 | [log] [tgz] |
---|---|---|
author | Martijn Coenen <maco@google.com> | Thu Nov 05 11:10:12 2015 +0100 |
committer | The Android Automerger <android-build@google.com> | Thu Nov 05 17:35:07 2015 -0800 |
tree | b52c6157165acafb085b215601e3ec57452a6ac9 | |
parent | e3b367fc88df5f7468699e3779b23779b299ad54 [diff] |
Don't free memory that shouldn't be freed. In case of NFC_ERROR_CEVT, p_data is just a pointer to an uint8_t, and doesn't contain data that needs to be freed. Note that there's a fall-through from NFC_DATA_CEVT above which warrants further investigation, but for now this is the safe fix. Bug: 25489121 Change-Id: Ibab5b42ca9defca04b2310c8d9a441c89f0f722d