diff options
-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() { |