Changeset ae5f1b94ab0b6b4ec6e496d6ed3c9d5489fcda75

Show
Ignore:
Timestamp:
03/24/07 02:18:53 (1 year ago)
Author:
Laurent Aimar <fenrir@videolan.org>
git-committer:
Laurent Aimar <fenrir@videolan.org> 1174699133 +0000
git-parent:

[d36fc485ac593dd77b3130a344902b9ff1a91bc1]

git-author:
Laurent Aimar <fenrir@videolan.org> 1174699133 +0000
Message:

Fixed small memory leaks.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/demux/playlist/pls.c

    r85ff146 rae5f1b9  
    182182            !strncasecmp( psz_key, "Ref", sizeof("Ref") -1 ) ) 
    183183        { 
     184            if( psz_mrl_orig ) 
     185                free( psz_mrl_orig ); 
    184186            psz_mrl_orig = 
    185187            psz_mrl = E_(ProcessMRL)( psz_value, p_demux->p_sys->psz_prefix ); 
     
    198200        else if( !strncasecmp( psz_key, "title", sizeof("title") -1 ) ) 
    199201        { 
     202            if( psz_name ) 
     203                free( psz_name ); 
    200204            psz_name = strdup( psz_value ); 
    201205        }