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;