Fix for issue  3444969 : Crash while generating transition

Change-Id: I63286dc66bfcd496aee45d26c8934f519ce63429
diff --git a/libvideoeditor/vss/src/VideoEditorResampler.cpp b/libvideoeditor/vss/src/VideoEditorResampler.cpp
index 47c9579..81709df 100755
--- a/libvideoeditor/vss/src/VideoEditorResampler.cpp
+++ b/libvideoeditor/vss/src/VideoEditorResampler.cpp
@@ -68,6 +68,7 @@
     if(pBuffer->raw != NULL) {
         free(pBuffer->raw);
         pBuffer->raw = NULL;
+        mTmpInBuffer = NULL;
     }
     pBuffer->frameCount = 0;
 }
@@ -88,6 +89,7 @@
     context->nbChannels = inChannelCount;
     context->outSamplingRate = sampleRate;
     context->mInput = NULL;
+    context->mTmpInBuffer = NULL;
 
     return ((M4OSA_Int32)context);
 }