diff options
author | James Dong <jdong@google.com> | 2011-03-04 17:15:53 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-03-04 17:15:53 -0800 |
commit | 6ab1d170a6707e4b92bc1ee353dcd2bf7b897bac (patch) | |
tree | 01608250edca9c70f5be77d5a94454176aeef6b2 /media | |
parent | 918581cd1d50f0d34a94ae820d82dc7ab50aaa99 (diff) | |
parent | 73870c96dc3d652b64b74b023f3df67edf7d08c0 (diff) | |
download | frameworks_av-6ab1d170a6707e4b92bc1ee353dcd2bf7b897bac.zip frameworks_av-6ab1d170a6707e4b92bc1ee353dcd2bf7b897bac.tar.gz frameworks_av-6ab1d170a6707e4b92bc1ee353dcd2bf7b897bac.tar.bz2 |
am 0b7912d3: am 99b86247: Fix a leak from AACEncoder.cpp
* commit '0b7912d32848e123e3356d6452895f734b5dda7e':
Fix a leak from AACEncoder.cpp
Diffstat (limited to 'media')
-rw-r--r-- | media/libstagefright/codecs/aacenc/AACEncoder.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/media/libstagefright/codecs/aacenc/AACEncoder.cpp b/media/libstagefright/codecs/aacenc/AACEncoder.cpp index a8b1292..e4ff128 100644 --- a/media/libstagefright/codecs/aacenc/AACEncoder.cpp +++ b/media/libstagefright/codecs/aacenc/AACEncoder.cpp @@ -189,6 +189,9 @@ status_t AACEncoder::stop() { delete mApiHandle; mApiHandle = NULL; + delete mMemOperator; + mMemOperator = NULL; + mStarted = false; return OK; |