commit | 99b862476df2f5d487db98a32a0c88e3a6be8420 | [log] [tgz] |
---|---|---|
author | James Dong <jdong@google.com> | Fri Mar 04 16:24:07 2011 -0800 |
committer | James Dong <jdong@google.com> | Fri Mar 04 16:30:37 2011 -0800 |
tree | 4e45039b5d7cc6e77918e16eafb3d86ccae2c1a7 | |
parent | 0b51f57479f243a597d7c73b6ac44d3e687bafa8 [diff] |
Fix a leak from AACEncoder.cpp bug - 3470617 Change-Id: I328e92bc1b2aca72e5856703dae00f957f40bc27
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 @@ delete mApiHandle; mApiHandle = NULL; + delete mMemOperator; + mMemOperator = NULL; + mStarted = false; return OK;