Changeset 0274be8790164dccf71b9f4574b57a47e4a88c70

Show
Ignore:
Timestamp:
12/03/08 12:07:43 (7 months ago)
Author:
Rémi Duraffort <ivoire@videolan.org>
git-committer:
Rémi Duraffort <ivoire@videolan.org> 1205320063 +0100
git-parent:

[7326fad1f18a82b58db09d0a0ddc7c086c60c62e]

git-author:
Rémi Duraffort <ivoire@videolan.org> 1205319989 +0100
Message:

The last but not the least commit about these useless tests.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/access_output/shout.c

    r99fab90 r0274be8  
    264264    } 
    265265 
    266     if( psz_name ) free( psz_name ); 
    267     if( psz_description ) free( psz_description ); 
    268     if( psz_genre ) free( psz_genre ); 
    269     if( psz_url ) free( psz_url ); 
     266    free( psz_name ); 
     267    free( psz_description ); 
     268    free( psz_genre ); 
     269    free( psz_url ); 
    270270 
    271271    var_Get( p_access, SOUT_CFG_PREFIX "mp3", &val ); 
  • modules/codec/ffmpeg/encoder.c

    r6339478 r0274be8  
    400400        } 
    401401    } 
    402     if( val.psz_string ) free( val.psz_string ); 
     402    free( val.psz_string ); 
    403403#endif 
    404404 
  • modules/control/http/macro.c

    r0e86a35 r0274be8  
    391391                    } 
    392392 
    393                     if( p_items ) free( p_items ); 
     393                    free( p_items ); 
    394394                    break; 
    395395                } 
     
    433433                    } 
    434434 
    435                     if( p_items ) free( p_items ); 
     435                    free( p_items ); 
    436436                    break; 
    437437                } 
  • modules/control/http/mvar.c

    r2bd0742 r0274be8  
    627627 
    628628    free( psz_dir ); 
    629     if( ppsz_dir_content != NULL ) 
    630         free( ppsz_dir_content ); 
     629    free( ppsz_dir_content ); 
    631630    return s; 
    632631} 
  • modules/control/netsync.c

    r99fab90 r0274be8  
    159159        i_socket = net_ConnectUDP( VLC_OBJECT(p_intf), psz_master, NETSYNC_PORT, 0 ); 
    160160 
    161     if( psz_master ) free( psz_master ); 
     161    free( psz_master ); 
    162162 
    163163    if( i_socket < 0 ) 
  • modules/control/rc.c

    r0e86a35 r0274be8  
    12711271            msg_rc( "+----[ end of %s ]", val_name.psz_string ); 
    12721272 
    1273             if( val_name.psz_string ) free( val_name.psz_string ); 
     1273            free( val_name.psz_string ); 
    12741274 
    12751275            i_error = VLC_SUCCESS; 
     
    17791779        msg_rc( "+----[ end of %s ]", val_name.psz_string ); 
    17801780 
    1781         if( val_name.psz_string ) free( val_name.psz_string ); 
     1781        free( val_name.psz_string ); 
    17821782 
    17831783        i_error = VLC_SUCCESS; 
     
    18661866        msg_rc( "+----[ end of %s ]", val_name.psz_string ); 
    18671867 
    1868         if( val_name.psz_string ) free( val_name.psz_string ); 
     1868        free( val_name.psz_string ); 
    18691869        i_error = VLC_SUCCESS; 
    18701870    } 
     
    19341934        msg_rc( _("Please provide one of the following parameters:") ); 
    19351935        msg_rc( "[on|off|up|down|left|right|select]" ); 
    1936         if( val.psz_string ) free( val.psz_string ); 
    1937             return i_error; 
     1936        free( val.psz_string ); 
     1937        return i_error; 
    19381938    } 
    19391939 
    19401940    i_error = VLC_SUCCESS; 
    1941     if( val.psz_string ) free( val.psz_string ); 
     1941    free( val.psz_string ); 
    19421942    return i_error; 
    19431943} 
  • modules/control/telnet.c

    r1662591 r0274be8  
    231231        p_sys->clients[i] = NULL; 
    232232    } 
    233     if( p_sys->clients != NULL ) free( p_sys->clients ); 
     233    free( p_sys->clients ); 
    234234 
    235235    net_ListenClose( p_sys->pi_fd ); 
     
    516516        } 
    517517    } 
    518     if( psz_password ) 
    519         free( psz_password ); 
     518    free( psz_password ); 
    520519} 
    521520 
     
    527526    client->p_buffer_read = client->buffer_read; 
    528527    (client->p_buffer_read)[0] = 0; // if (cl->p_buffer_read)[0] = '\n' 
    529     if( client->buffer_write ) free( client->buffer_write ); 
     528    free( client->buffer_write ); 
    530529 
    531530    /* generate the psz_message string */