projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d68300f
)
UPnPFile: remove usage of not required SAFE_DELETE
author
Karlson2k
<k2k@narod.ru>
Mon, 2 Dec 2013 20:00:45 +0000
(
00:00
+0400)
committer
Karlson2k
<k2k@narod.ru>
Tue, 3 Dec 2013 12:49:02 +0000
(16:49 +0400)
xbmc/filesystem/UPnPFile.cpp
patch
|
blob
|
history
diff --git
a/xbmc/filesystem/UPnPFile.cpp
b/xbmc/filesystem/UPnPFile.cpp
index
dff678a
..
879377c
100644
(file)
--- a/
xbmc/filesystem/UPnPFile.cpp
+++ b/
xbmc/filesystem/UPnPFile.cpp
@@
-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;
}