summaryrefslogtreecommitdiff
path: root/libutils/include/utils/ProcessCallStack.h
diff options
context:
space:
mode:
authorJin Qian <jinqian@google.com>2016-11-03 13:36:35 -0700
committerbowgotsai <bowgotsai@google.com>2017-01-20 18:01:49 +0800
commit8b7eb7bb2a9cff199cfd65641521a31119cd7179 (patch)
tree182c04b4110894d6b2114a71f2809e623ece1f60 /libutils/include/utils/ProcessCallStack.h
parent89e99f9e0e28455779db118136a2f9e26adad520 (diff)
fs_mgr: fix clang static analyzer warning
Pointer from strdup is lost hence triggers mem leak warning from clang, since ptr returned from basename may not point to start of duplicated string any more. Switch to use gnu version of basename which doesn't modify input string so that strdup is no longer necessary. Bug: 27126348 Test: compile Change-Id: I937a68c01c223230932c932bffdd35da6503c3c4
Diffstat (limited to 'libutils/include/utils/ProcessCallStack.h')
0 files changed, 0 insertions, 0 deletions