commit | b4ce81da6664b5029406a78be71c39af055a4d29 | [log] [tgz] |
---|---|---|
author | Santosh Madhava <smadhava@google.com> | Wed Feb 09 19:20:17 2011 -0800 |
committer | Santosh Madhava <smadhava@google.com> | Thu Feb 10 10:16:45 2011 -0800 |
tree | 74caa2a15d6a16d5cc71ff845505919daa88814e | |
parent | 9785cdf83214ce4d998e65ac0fce92cea3137f0b [diff] [blame] |
Fix for issue 3431967 : Memory leak from video editor engine Change-Id: I36e1cae53c91217804bc8243d9eb47820fb2114e
diff --git a/libvideoeditor/lvpp/VideoEditorPreviewController.cpp b/libvideoeditor/lvpp/VideoEditorPreviewController.cpp index 78f0cda..e7a767a 100755 --- a/libvideoeditor/lvpp/VideoEditorPreviewController.cpp +++ b/libvideoeditor/lvpp/VideoEditorPreviewController.cpp
@@ -128,6 +128,11 @@ mAudioMixPCMFileHandle = M4OSA_NULL; } + if (mBackgroundAudioSetting != NULL) { + M4OSA_free((M4OSA_MemAddr32)mBackgroundAudioSetting); + mBackgroundAudioSetting = NULL; + } + if(mTarget != NULL) { delete mTarget; mTarget = NULL;