commit | 5340dae86f4e2bb697cccd0f586501b52a784db5 | [log] [tgz] |
---|---|---|
author | Jizhou Liao <Jizhou.Liao@nxp.com> | Tue Mar 22 12:08:11 2016 -0700 |
committer | Martijn Coenen <maco@google.com> | Wed May 11 19:25:01 2016 +0200 |
tree | ca67be2e117d2f308bdb3e7c5bdf11847a0e9428 | |
parent | b1b86f94acdddb55f0f13bc959ddfa9289f4cf2e [diff] |
Free memory in case of error response In case of NFC_DATA_CEVT with error response, p_data is allocated as p_msg from nfc_main_hal_data_cback(), here to free this buffer to avoid memory leak. Bug: 28181917 Change-Id: I74bbb5c2f7956eb246b38c25a1e8c56922ee56ab