commit | c1184a7991b927099082de923693e204a1d334dd | [log] [tgz] |
---|---|---|
author | Caroline Tice <cmtice@google.com> | Wed Oct 19 17:34:28 2016 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Oct 19 17:34:28 2016 +0000 |
tree | f4542024b3d93df40d14258c513237080f975aed | |
parent | 5d7e276b21d39ee62d2f57fa43aa497c5cb87cd2 [diff] | |
parent | f8dd1bdb12c76822ec1c2ab5d848c31f256cf36a [diff] |
Merge "Fix potental memory leak (compiler warning)."
diff --git a/media/libeffects/proxy/EffectProxy.cpp b/media/libeffects/proxy/EffectProxy.cpp index 62d3fd3..7f777e7 100644 --- a/media/libeffects/proxy/EffectProxy.cpp +++ b/media/libeffects/proxy/EffectProxy.cpp
@@ -91,6 +91,7 @@ delete[] pContext->sube; delete[] pContext->desc; delete[] pContext->aeli; + delete pContext; return -EINVAL; } // Check which is the HW descriptor and copy the descriptors