Changeset e8e2bcf0dd7b161670ee5bc4ec81044ef8525303

Show
Ignore:
Timestamp:
22/04/08 23:36:45 (6 months ago)
Author:
Antoine Cellerier <dionoea@videolan.org>
git-committer:
Antoine Cellerier <dionoea@videolan.org> 1208900205 +0200
git-parent:

[e445caad6168b072f9d3f525f3fef3af639f67e5]

git-author:
Antoine Cellerier <dionoea@videolan.org> 1208897370 +0200
Message:

Revert "Fix memory leak"
This breaks module aliasing.

This reverts commit 16afc89353c2f61e3dd671bd842540cdf3627193.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/modules/modules.c

    rb7fb80f re8e2bcf  
    647647         * module. That's not always the case ... but it is in most cases. 
    648648         */ 
    649         p_this->psz_object_name = p_module->psz_object_name; 
     649        if( psz_alias ) 
     650            p_this->psz_object_name = strdup( psz_alias ); 
     651        else 
     652            p_this->psz_object_name = strdup( p_module->psz_object_name ); 
    650653    } 
    651654