vlc | branch: master | Filip Roséen <[email protected]> | Tue Jul 31 14:44:05 2018 
+0200| [413cb87b73eaa20c78a92436a99c92b529696be6] | committer: Hugo 
Beauzée-Luyssen

sd: upnp: parseSatipServer: prevent leak

Signed-off-by: Hugo Beauzée-Luyssen <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=413cb87b73eaa20c78a92436a99c92b529696be6
---

 modules/services_discovery/upnp.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/services_discovery/upnp.cpp 
b/modules/services_discovery/upnp.cpp
index b72ad208a1..d3033b4b90 100644
--- a/modules/services_discovery/upnp.cpp
+++ b/modules/services_discovery/upnp.cpp
@@ -587,6 +587,7 @@ MediaServerList::parseSatipServer( IXML_Element* 
p_device_element, const char *p
             }
 
             /* to comply with the SAT>IP specification, we don't fall back on 
another channel list if this path failed */
+            free( psz_satip_channellist );
             free( psz_satip_playlist_url );
             vlc_UrlClean( &url );
             return;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to