summaryrefslogtreecommitdiffstats
path: root/drm
diff options
context:
space:
mode:
authorNick Desaulniers <ndesaulniers@google.com>2019-10-07 20:19:39 -0700
committerBryan Ferris <bferris@google.com>2020-02-27 21:55:55 +0000
commit75b7bf70de4093eacdb1d59738deae2d7cca4a3b (patch)
treebe1553f07e4782a3402be006ffceb7b540435935 /drm
parent58cc8f2c0254f03d66a28ae1cf0809c171d4ac7d (diff)
downloadframeworks_av-75b7bf70de4093eacdb1d59738deae2d7cca4a3b.tar.gz
frameworks_av-75b7bf70de4093eacdb1d59738deae2d7cca4a3b.tar.bz2
frameworks_av-75b7bf70de4093eacdb1d59738deae2d7cca4a3b.zip
[media][sfplugin] fix -Wdangling-gsl
C2BufferData#linearBlocks() returns a std::vector. Chaining method calls results in an immediate dereference of a dangling pointer. Save a reference to the otherwise temporary for the duration of the function call. Bug: 142544793 Test: m, flash device Change-Id: I99d662a8fe5deec652cdcd82f420c836c76d5539 Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Diffstat (limited to 'drm')
0 files changed, 0 insertions, 0 deletions