commit | 82266ae07e00e0b90bc7f13d3ce77ff10291d346 | [log] [tgz] |
---|---|---|
author | Luis A. Lozano <llozano@google.com> | Tue Aug 22 16:30:11 2017 -0700 |
committer | Luis A. Lozano <llozano@google.com> | Tue Aug 22 16:34:32 2017 -0700 |
tree | 1dc77679a35437da115222ac4bb01efd57f73897 | |
parent | fafdb45bfa93eea6c152fcf0106cba0658feccf2 [diff] |
Fix memory leak in string created for strtok. Reported by static analyzer: system/libvintf/assemble_vintf.cpp:100:18: warning: Potential leak of memory pointed to by 'modPath' [clang-analyzer-cplusplus.NewDeleteLeaks] Bug: b/27101951 Test: verified warning is gone. Change-Id: Iab26bc356e3df2a811ad7d34228533ea5dcd8edb