commit | c56a929eeb9856d5fd78825c00398ba0d471c816 | [log] [tgz] |
---|---|---|
author | Martijn Coenen <[email protected]> | Thu Nov 05 11:10:12 2015 +0100 |
committer | Martijn Coenen <[email protected]> | Thu Nov 05 14:23:59 2015 +0100 |
tree | fc91e5ac9f368e3fa3fc803c22f88802436278c3 | |
parent | f644e0182e68dd9488594e729408a71dad330f72 [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