harvester/harvesterplugins/WMVPlugin/src/harvesterwmvplugin.cpp
changeset 40 910a23996aa0
parent 28 c461c7fa72c2
child 43 c5e73110f733
equal deleted inserted replaced
38:5210ffae7137 40:910a23996aa0
    87 //
    87 //
    88 CHarvesterWMVPlugin::~CHarvesterWMVPlugin()
    88 CHarvesterWMVPlugin::~CHarvesterWMVPlugin()
    89     {
    89     {
    90     WRITELOG( "CHarvesterWMVPlugin::~CHarvesterWMVPlugin()" );
    90     WRITELOG( "CHarvesterWMVPlugin::~CHarvesterWMVPlugin()" );
    91     delete iPropDefs;
    91     delete iPropDefs;
       
    92     iPropDefs = NULL;
    92     
    93     
    93     delete iPhoneVideosPath;
    94     delete iPhoneVideosPath;
       
    95     iPhoneVideosPath = NULL;
    94     delete iMmcVideosPath;
    96     delete iMmcVideosPath;
       
    97     iMmcVideosPath = NULL;
    95     }
    98     }
    96 
    99 
    97 // ---------------------------------------------------------------------------
   100 // ---------------------------------------------------------------------------
    98 // Harvest file
   101 // Harvest file
    99 // ---------------------------------------------------------------------------
   102 // ---------------------------------------------------------------------------
   149     TRAPD( err, content = ContentAccess::CContent::NewL( aUri ) );
   152     TRAPD( err, content = ContentAccess::CContent::NewL( aUri ) );
   150     if (err == KErrNone) 
   153     if (err == KErrNone) 
   151         {
   154         {
   152         err = content->GetStringAttribute( ContentAccess::EMimeType, aMimeType );
   155         err = content->GetStringAttribute( ContentAccess::EMimeType, aMimeType );
   153         delete content;
   156         delete content;
       
   157         content = NULL;
   154         }
   158         }
   155     }
   159     }
   156 
   160 
   157 // ---------------------------------------------------------------------------
   161 // ---------------------------------------------------------------------------
   158 // Default constructor
   162 // Default constructor