commit | 7a40848e50608558bab84adf4becc73550b25bff | [log] [tgz] |
---|---|---|
author | Caroline Tice <cmtice@google.com> | Wed Oct 19 17:50:35 2016 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Wed Oct 19 17:50:35 2016 +0000 |
tree | 17714066c2cef44035c16e30cf35dacd88de5b2a | |
parent | c1cf4c1b51d9a26f09b67473429f7189f8909f57 [diff] | |
parent | c1184a7991b927099082de923693e204a1d334dd [diff] |
Merge "Fix potental memory leak (compiler warning)." am: c1184a7991 Change-Id: I78b5d0ed14bfb18108ee43a8d3570cdb6bc65b32
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