Fix for issue 3431967 : Movie Studio crashed after pressing the back button

Change-Id: I4b8cb2a54c2a1b7117feae9d8c6ca14e81b1f83d
diff --git a/libvideoeditor/lvpp/VideoEditorTools.cpp b/libvideoeditor/lvpp/VideoEditorTools.cpp
index c9ee2f6..ab3aee1 100755
--- a/libvideoeditor/lvpp/VideoEditorTools.cpp
+++ b/libvideoeditor/lvpp/VideoEditorTools.cpp
@@ -2085,6 +2085,11 @@
                 }

             }

         }

+

+        if (m_air_context != M4OSA_NULL) {

+            M4AIR_cleanUp(m_air_context);

+            m_air_context = M4OSA_NULL;

+        }

     }

 

     return err;