commit | 2b7323a99c9e190f065d199ea0b22e3996bfa0dc | [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 | 735d15fb928b4d7ed39431ce2df70f71cf81e255 [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