commit | c021fb42610d59c6d4ef49ad11cec27ac1941c23 | [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 | eb89d09511604f7e2c82a6364cc677895c8d04a5 | |
parent | 22ae273349a2d5a17e18b1cf48f307e97ebae6e3 [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