return VLC_EGENERIC;
}
- if( psz_name ) free( psz_name );
- if( psz_description ) free( psz_description );
- if( psz_genre ) free( psz_genre );
- if( psz_url ) free( psz_url );
+ free( psz_name );
+ free( psz_description );
+ free( psz_genre );
+ free( psz_url );
var_Get( p_access, SOUT_CFG_PREFIX "mp3", &val );
if( val.b_bool == VLC_TRUE )
p_sys->i_aac_profile = FF_PROFILE_UNKNOWN;
}
}
- if( val.psz_string ) free( val.psz_string );
+ free( val.psz_string );
#endif
if( p_enc->fmt_in.i_cat == VIDEO_ES )
}
}
- if( p_items ) free( p_items );
+ free( p_items );
break;
}
case MVLC_KEEP:
}
}
- if( p_items ) free( p_items );
+ free( p_items );
break;
}
case MVLC_EMPTY:
}
free( psz_dir );
- if( ppsz_dir_content != NULL )
- free( ppsz_dir_content );
+ free( ppsz_dir_content );
return s;
}
else
i_socket = net_ConnectUDP( VLC_OBJECT(p_intf), psz_master, NETSYNC_PORT, 0 );
- if( psz_master ) free( psz_master );
+ free( psz_master );
if( i_socket < 0 )
{
&val, &text );
msg_rc( "+----[ end of %s ]", val_name.psz_string );
- if( val_name.psz_string ) free( val_name.psz_string );
+ free( val_name.psz_string );
i_error = VLC_SUCCESS;
}
&val, &text );
msg_rc( "+----[ end of %s ]", val_name.psz_string );
- if( val_name.psz_string ) free( val_name.psz_string );
+ free( val_name.psz_string );
i_error = VLC_SUCCESS;
}
&val, &text );
msg_rc( "+----[ end of %s ]", val_name.psz_string );
- if( val_name.psz_string ) free( val_name.psz_string );
+ free( val_name.psz_string );
i_error = VLC_SUCCESS;
}
else
{
msg_rc( _("Please provide one of the following parameters:") );
msg_rc( "[on|off|up|down|left|right|select]" );
- if( val.psz_string ) free( val.psz_string );
- return i_error;
+ free( val.psz_string );
+ return i_error;
}
i_error = VLC_SUCCESS;
- if( val.psz_string ) free( val.psz_string );
+ free( val.psz_string );
return i_error;
}
free( cl );
p_sys->clients[i] = NULL;
}
- if( p_sys->clients != NULL ) free( p_sys->clients );
+ free( p_sys->clients );
net_ListenClose( p_sys->pi_fd );
TAB_APPEND( p_sys->i_clients, p_sys->clients, cl );
}
}
- if( psz_password )
- free( psz_password );
+ free( psz_password );
}
static void Write_message( telnet_client_t *client, vlm_message_t *message,
client->p_buffer_read = client->buffer_read;
(client->p_buffer_read)[0] = 0; // if (cl->p_buffer_read)[0] = '\n'
- if( client->buffer_write ) free( client->buffer_write );
+ free( client->buffer_write );
/* generate the psz_message string */
if( message )