Changeset 3429397272d130cf08139cd771c337c1085bc30f

Show
Ignore:
Timestamp:
30/09/07 18:31:02 (1 year ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1191169862 +0000
git-parent:

[3f07af6acdd8a0b0ddbd2c33b79039bf8ec8a822]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1191169862 +0000
Message:

Remove FREE() macro, since free() does the same internally

Files:

Legend:

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

    re02432e r3429397  
    359359    httpd_HostDelete( p_sys->p_httpd_host ); 
    360360 
    361     FREE( p_sys->p_header ); 
     361    free( p_sys->p_header ); 
    362362 
    363363    msg_Dbg( p_access, "Close" ); 
  • modules/codec/cinepak.c

    rd3fe7f2 r3429397  
    407407        for( i = 0; i < 3; i++ ) 
    408408        { 
    409             FREE( p_context->p_pix[i] ); 
     409            free( p_context->p_pix[i] ); 
    410410        } 
    411411 
  • modules/demux/playlist/qtl.c

    r9b749a0 r3429397  
    159159        msg_Err( p_demux, "invalid root node %i, %s", 
    160160                 xml_ReaderNodeType( p_xml_reader ), psz_eltname ); 
    161         FREE( psz_eltname ); 
     161        free( psz_eltname ); 
    162162 
    163163        /* second line has <?quicktime tag ... so we try to skip it */ 
     
    170170            msg_Err( p_demux, "invalid root node %i, %s", 
    171171                     xml_ReaderNodeType( p_xml_reader ), psz_eltname ); 
    172             FREE( psz_eltname ); 
     172            free( psz_eltname ); 
    173173            return -1; 
    174174        } 
    175175    } 
    176     FREE( psz_eltname ); 
     176    free( psz_eltname ); 
    177177 
    178178    while( xml_ReaderNextAttr( p_sys->p_xml_reader ) == VLC_SUCCESS ) 
     
    183183        if( !psz_attrname || !psz_attrvalue ) 
    184184        { 
    185             FREE( psz_attrname ); 
    186             FREE( psz_attrvalue ); 
     185            free( psz_attrname ); 
     186            free( psz_attrvalue ); 
    187187            return -1; 
    188188        } 
     
    319319                     psz_attrname, psz_attrvalue ); 
    320320        } 
    321         FREE( psz_attrname ); 
    322         FREE( psz_attrvalue ); 
     321        free( psz_attrname ); 
     322        free( psz_attrvalue ); 
    323323    } 
    324324 
     
    370370    p_sys->p_playlist = NULL; 
    371371 
    372     FREE( psz_href ); 
    373     FREE( psz_moviename ); 
    374     FREE( psz_qtnext ); 
    375     FREE( psz_src ); 
    376     FREE( psz_mimetype ); 
     372    free( psz_href ); 
     373    free( psz_moviename ); 
     374    free( psz_qtnext ); 
     375    free( psz_src ); 
     376    free( psz_mimetype ); 
    377377 
    378378    return -1; /* Needed for correct operation of go back */ 
  • modules/misc/profile_parser.c

    r6ee1e19 r3429397  
    7575 
    7676        case XML_READER_STARTELEM: 
    77             FREE( psz_elname ); 
     77            free( psz_elname ); 
    7878            psz_elname = xml_ReaderName( p_reader ); 
    7979            if( !psz_elname ) return VLC_EGENERIC; 
     
    8484            break; 
    8585        case XML_READER_ENDELEM: 
    86             FREE( psz_elname ); 
     86            free( psz_elname ); 
    8787            psz_elname = xml_ReaderName( p_reader ); 
    8888            if( !psz_elname ) return VLC_EGENERIC; 
  • src/input/subtitles.c

    r6aee6d6 r3429397  
    292292    if( !f_fname || !f_dir ) 
    293293    { 
    294         FREE( f_fname ); 
    295         FREE( f_dir ); 
     294        free( f_fname ); 
     295        free( f_dir ); 
    296296        return NULL; 
    297297    } 
     
    303303    if( !f_fname_noext || !f_fname_trim ) 
    304304    { 
    305         FREE( f_fname ); 
    306         FREE( f_dir ); 
    307         FREE( f_fname_noext ); 
    308         FREE( f_fname_trim ); 
     305        free( f_fname ); 
     306        free( f_dir ); 
     307        free( f_fname_noext ); 
     308        free( f_fname_trim ); 
    309309        return NULL; 
    310310    } 
     
    409409        { 
    410410            for( a = 0; a < i_dir_content; a++ ) 
    411                 FREE( ppsz_dir_content[a] ); 
     411                free( ppsz_dir_content[a] ); 
    412412            free( ppsz_dir_content ); 
    413413        } 
     
    416416    { 
    417417        for( j = 0; subdirs[j]; j++ ) 
    418             FREE( subdirs[j] ); 
     418            free( subdirs[j] ); 
    419419        free( subdirs ); 
    420420    } 
     
    465465    for( j = 0; j < i_sub_count; j++ ) 
    466466    { 
    467         FREE( result[j].psz_fname ); 
    468         FREE( result[j].psz_ext ); 
     467        free( result[j].psz_fname ); 
     468        free( result[j].psz_ext ); 
    469469    } 
    470470    free( result ); 
  • src/interface/interaction.c

    r2578127 r3429397  
    303303    } 
    304304 
    305     FREE( p_dialog->psz_description ); 
     305    free( p_dialog->psz_description ); 
    306306    p_dialog->psz_description = strdup( psz_status ); 
    307307