diff -r 9b3e960ffc8a -r 2d3e1993fb02 camcordermmfplugin/filecomposer/Src/CamC3GPDataSinkImp.cpp --- a/camcordermmfplugin/filecomposer/Src/CamC3GPDataSinkImp.cpp Thu Dec 17 08:51:24 2009 +0200 +++ b/camcordermmfplugin/filecomposer/Src/CamC3GPDataSinkImp.cpp Tue Jan 26 12:06:59 2010 +0200 @@ -97,8 +97,6 @@ CCamC3GPDataSinkImp::~CCamC3GPDataSinkImp(void) { PRINT(_L("CCamC3GPDataSinkImp::~CCamC3GPDataSinkImp enter")); - delete [] iVideoBuffer; - delete [] iAudioBuffer; if ( iFileName != KNullDesC ) { @@ -122,6 +120,8 @@ iFS = NULL; } + delete [] iVideoBuffer; + delete [] iAudioBuffer; iObserver = NULL; iMMFFile = NULL; // not owned iFile = NULL; // not owned