diff options
author | James Dong <jdong@google.com> | 2011-03-04 16:24:07 -0800 |
---|---|---|
committer | James Dong <jdong@google.com> | 2011-03-04 16:30:37 -0800 |
commit | 73870c96dc3d652b64b74b023f3df67edf7d08c0 (patch) | |
tree | e81a37be8550affe40677225ca7bce0d3d855a62 /media/libstagefright | |
parent | 2eb6a47b58c5b36f887a372e89f3d70f5d40812c (diff) | |
download | frameworks_av-73870c96dc3d652b64b74b023f3df67edf7d08c0.zip frameworks_av-73870c96dc3d652b64b74b023f3df67edf7d08c0.tar.gz frameworks_av-73870c96dc3d652b64b74b023f3df67edf7d08c0.tar.bz2 |
Fix a leak from AACEncoder.cpp
bug - 3470617
Change-Id: I328e92bc1b2aca72e5856703dae00f957f40bc27
Diffstat (limited to 'media/libstagefright')
-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; |