Commit d7a21b12 authored by Rémi Duraffort's avatar Rémi Duraffort

Fix segfault in sap service discovery.

parent af04bf60
......@@ -547,10 +547,8 @@ static void Run( services_discovery_t *p_sd )
psz_addr = var_CreateGetString( p_sd, "sap-addr" );
if( psz_addr && *psz_addr )
{
InitSocket( p_sd, psz_addr, SAP_PORT );
free( psz_addr );
}
if( p_sd->p_sys->i_fd == 0 )
{
......
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