Commit 0f78ca27 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

upnp: Fix leak on error

CID #1398416
parent bdb4031e
......@@ -502,7 +502,10 @@ void MediaServerList::parseNewServer( IXML_Document *doc, const std::string &loc
}
if ( unlikely( !p_server ) )
{
free( psz_satip_channellist );
break;
}
p_server->satIpHost = url.psz_host;
p_server->isSatIp = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment