commit | 5572d1607bf145c59b830b24e152e030094646bc | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Tue Dec 13 15:32:00 2016 -0800 |
committer | George Burgess IV <gbiv@google.com> | Tue Dec 13 15:32:00 2016 -0800 |
tree | dcc5c1720ecf90ae00567402671e4b2a060e90b6 | |
parent | fbeacb02c0fe331242dd1815a28e2b2f1d5a42c6 [diff] |
Fix a memory leak. This was caught by clang's static analyzer. Warning: frameworks/base/media/mca/filterfw/native/core/shader_program.cpp:1031:3: warning: Potential leak of memory pointed to by 'attrib.owned_data' return StoreAttribute(attrib); Bug: None. Test: The static analyzer no longer complains. Change-Id: Ibef0368dfa48ba57e38019a5a3e33d5bacd847a2