[vlc-commits] activex: utils: Fix memleak
Hugo Beauzée-Luyssen
git at videolan.org
Fri Apr 17 15:40:03 CEST 2015
npapi-vlc | branch: cleanup | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Apr 17 15:15:01 2015 +0200| [7da20bd3a3fc3d1bd803cebb3ba7486e8e3772df] | committer: Hugo Beauzée-Luyssen
activex: utils: Fix memleak
Fix cid #59960
> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=7da20bd3a3fc3d1bd803cebb3ba7486e8e3772df
---
activex/utils.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/activex/utils.cpp b/activex/utils.cpp
index 9c469db..b9d7d23 100644
--- a/activex/utils.cpp
+++ b/activex/utils.cpp
@@ -247,6 +247,7 @@ relativeurl:
if( L'/' != *href )
{
/* baseURL is not an absolute path */
+ CoTaskMemFree(href);
return NULL;
}
pathstart = href;
More information about the vlc-commits
mailing list