diff options
author | Lajos Molnar <lajos@google.com> | 2015-04-16 02:41:51 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-04-16 02:41:51 +0000 |
commit | 4491a4ab2d6991baa1ce15f24025aa24430d15d1 (patch) | |
tree | b835c46f2849c9d986f480cb303cc4eee926ffaa | |
parent | 30d7b4883bf3198bfba0d0acf14e0bcbb67716d1 (diff) | |
parent | 4c845fde3d60ad93984879f69b164e35536e080d (diff) | |
download | frameworks_av-4491a4ab2d6991baa1ce15f24025aa24430d15d1.zip frameworks_av-4491a4ab2d6991baa1ce15f24025aa24430d15d1.tar.gz frameworks_av-4491a4ab2d6991baa1ce15f24025aa24430d15d1.tar.bz2 |
Merge "libstagefright: free mMoovBoxBuffer"
-rw-r--r-- | media/libstagefright/MPEG4Writer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libstagefright/MPEG4Writer.cpp b/media/libstagefright/MPEG4Writer.cpp index 91d9db5..844a019 100644 --- a/media/libstagefright/MPEG4Writer.cpp +++ b/media/libstagefright/MPEG4Writer.cpp @@ -823,6 +823,8 @@ void MPEG4Writer::release() { mFd = -1; mInitCheck = NO_INIT; mStarted = false; + free(mMoovBoxBuffer); + mMoovBoxBuffer = NULL; } status_t MPEG4Writer::reset() { |