commit | f94e8db4232979b2fc93e8a77c42bfa57d3da56a | [log] [tgz] |
---|---|---|
author | Stephen Hines <srhines@google.com> | Thu Jun 26 11:55:29 2014 -0700 |
committer | Stephen Hines <srhines@google.com> | Thu Jun 26 11:55:29 2014 -0700 |
tree | 39807306e6eb2a9ed506274ce5485edb1384c14f | |
parent | 1c3b028ea0a9de7f0229297f723893130b36ce7a [diff] |
Add in a missing unlockMutex() on an error path. Change-Id: I223e64381190184e37a92ce6478340cb7a323e29
diff --git a/cpu_ref/rsCpuScript.cpp b/cpu_ref/rsCpuScript.cpp index 81e70f0..8186c68 100644 --- a/cpu_ref/rsCpuScript.cpp +++ b/cpu_ref/rsCpuScript.cpp
@@ -427,6 +427,7 @@ bcinfo::MetadataExtractor ME((const char *) bitcode, bitcodeSize); if (!ME.extract()) { ALOGE("Could not extract metadata from bitcode"); + mCtx->unlockMutex(); return false; }