UPnPFile: remove usage of not required SAFE_DELETE
authorKarlson2k <k2k@narod.ru>
Mon, 2 Dec 2013 20:00:45 +0000 (00:00 +0400)
committerKarlson2k <k2k@narod.ru>
Tue, 3 Dec 2013 12:49:02 +0000 (16:49 +0400)
xbmc/filesystem/UPnPFile.cpp

index dff678a..879377c 100644 (file)
@@ -47,7 +47,7 @@ bool CUPnPFile::Open(const CURL& url)
     {
       throw new CRedirectException(pNewImp, pNewUrl);
     }
-    SAFE_DELETE(pNewUrl);    
+    delete pNewUrl;    
   }
   return false;
 }
@@ -64,7 +64,7 @@ int CUPnPFile::Stat(const CURL& url, struct __stat64* buffer)
     {
       throw new CRedirectException(pNewImp, pNewUrl);
     }
-    SAFE_DELETE(pNewUrl);
+    delete pNewUrl;
   }
   return -1;
 }
@@ -81,7 +81,7 @@ bool CUPnPFile::Exists(const CURL& url)
     {
       throw new CRedirectException(pNewImp, pNewUrl);
     }
-    SAFE_DELETE(pNewUrl);
+    delete pNewUrl;
   }
   return false;
 }