Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f82a6c36 authored by George Burgess IV's avatar George Burgess IV
Browse files

Suppress a static-analyzer warning

Our analyzer was flagging this as a memory leak, since it saw that we
were `strdup`ing into the mData member of this AString temporary:

frameworks/av/media/libstagefright/foundation/AString.cpp:368:5:
warning: Potential leak of memory pointed to by field 'mData'
[clang-analyzer-unix.Malloc]

This is incorrect, and appears to be related to LLVM PR38176.

Add a NOLINT until it's fixed upstream.

Bug: 120788908
Test: Ran the analyzer
Change-Id: Iaee20a740d721010862d2cce51383bdae311bd0a
parent f3209f65
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment