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
1 file changed
tree: eb89d09511604f7e2c82a6364cc677895c8d04a5
  1. liblog/
  2. logcat/
  3. logd/
  4. logwrapper/