commit | 633b73f8909c8bc52868848399d61fa3b8df3e72 | [log] [tgz] |
---|---|---|
author | Martijn Coenen <maco@google.com> | Thu Nov 05 11:10:12 2015 +0100 |
committer | Martijn Coenen <maco@google.com> | Thu Nov 05 11:31:22 2015 +0000 |
tree | b52c6157165acafb085b215601e3ec57452a6ac9 | |
parent | 920423e9544a1fa72a682cd2928c2e7ec0f86ba5 [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