commit | 75b7bf70de4093eacdb1d59738deae2d7cca4a3b | [log] [tgz] |
---|---|---|
author | Nick Desaulniers <ndesaulniers@google.com> | Mon Oct 07 20:19:39 2019 -0700 |
committer | Bryan Ferris <bferris@google.com> | Thu Feb 27 21:55:55 2020 +0000 |
tree | be1553f07e4782a3402be006ffceb7b540435935 | |
parent | 58cc8f2c0254f03d66a28ae1cf0809c171d4ac7d [diff] |
[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>