commit | bd0f59e493dbd67d1871b243ddad9cce3b50d7ce | [log] [tgz] |
---|---|---|
author | Caroline Tice <cmtice@google.com> | Wed Oct 19 18:05:06 2016 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Wed Oct 19 18:05:06 2016 +0000 |
tree | 8f1d61fe4b43d485ed9aa810f05e3b6d72e6a15a | |
parent | 2103044be5c8fefbd97da410bbca47239fd3348d [diff] | |
parent | 46b06cf79ee5125611c0138ef525423f4818c8df [diff] |
Merge "Fix potental memory leak (compiler warning)." am: c1184a7991 am: 7a40848e50 am: 46b06cf79e Change-Id: Ia51169703363cfa7eb488193316b12606097a970
diff --git a/media/libeffects/proxy/EffectProxy.cpp b/media/libeffects/proxy/EffectProxy.cpp index b16a98b..7decaf6 100644 --- a/media/libeffects/proxy/EffectProxy.cpp +++ b/media/libeffects/proxy/EffectProxy.cpp
@@ -85,6 +85,7 @@ delete[] pContext->sube; delete[] pContext->desc; delete[] pContext->aeli; + delete pContext; return -EINVAL; } // Check which is the HW descriptor and copy the descriptors