vlc | branch: master | Hugo Beauzée-Luyssen <[email protected]> | Tue Jul 31 14:30:33 2018 +0200| [1a441d3e72738cefeb2dfdbddf55a58e7552807e] | committer: Hugo Beauzée-Luyssen
upnp: Fix leak CID #1438148 > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1a441d3e72738cefeb2dfdbddf55a58e7552807e --- 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 a7e9e727fc..b72ad208a1 100644 --- a/modules/services_discovery/upnp.cpp +++ b/modules/services_discovery/upnp.cpp @@ -642,6 +642,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
