commit | ef0f4ed17d04bd757fb7f2307356b478489a79ec | [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 | 803440ff64858d0cd468898ff1665ca1ed8e8291 [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