vlc/vlc-3.0 | branch: master | Hugo Beauzée-Luyssen <[email protected]> | Tue Jul 31 14:30:33 2018 +0200| [6d23fdd6089a127648e7fa28a9c1317b661b2522] | committer: Hugo Beauzée-Luyssen
upnp: Fix leak CID #1438148 (cherry picked from commit 1a441d3e72738cefeb2dfdbddf55a58e7552807e) Signed-off-by: Hugo Beauzée-Luyssen <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=6d23fdd6089a127648e7fa28a9c1317b661b2522 --- 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 8201e95d83..914f4c7470 100644 --- a/modules/services_discovery/upnp.cpp +++ b/modules/services_discovery/upnp.cpp @@ -670,6 +670,7 @@ MediaServerList::parseSatipServer( IXML_Element* p_device_element, const char *p /* In Auto mode, default to MasterList list from satip.info */ if( strncmp(psz_satip_channellist, "Auto", strlen ("Auto")) == 0 ) { + free(psz_satip_channellist); psz_satip_channellist = strdup( "MasterList" ); } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
