commit | 106c3e6189203f73bc94a8c88cf41a0a1c22931f | [log] [tgz] |
---|---|---|
author | Ting-Yuan Huang <laszio@google.com> | Tue Feb 07 15:53:32 2017 -0800 |
committer | Ting-Yuan Huang <laszio@google.com> | Tue Feb 07 15:53:32 2017 -0800 |
tree | 6955a2730463a81012a98b897210a5eff8fdf006 | |
parent | 8eb237ad57a0a9b17b264d7528d9e01fe6b7e1d2 [diff] |
liblog: fix a memory leak in __android_log_pmsg_file_write() Free the strdup()-ed filename before returning error. Test: passed clang-tidy checks Bug: none Change-Id: I555492cb4e50400db758f7c721647a8747874a01