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

sd: upnp: parseSatipServer: prevent leak

Signed-off-by: Hugo Beauzée-Luyssen <[email protected]>
(cherry picked from commit 413cb87b73eaa20c78a92436a99c92b529696be6)
Signed-off-by: Hugo Beauzée-Luyssen <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=92a5852dd4c8d5d0489d8c3ca12a8aa7e70c4940
---

 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 914f4c7470..2f2e99f32e 100644
--- a/modules/services_discovery/upnp.cpp
+++ b/modules/services_discovery/upnp.cpp
@@ -615,6 +615,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