Changeset 16afc89353c2f61e3dd671bd842540cdf3627193

Show
Ignore:
Timestamp:
26/03/08 19:59:01 (7 months ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1206557941 +0200
git-parent:

[e0105d9b23a08eeedf89b869628644e38df4e8dd]

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

Fix memory leak

Files:

Legend:

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

    rc9c5170 r16afc89  
    692692         * module. That's not always the case ... but it is in most cases. 
    693693         */ 
    694         if( psz_alias ) 
    695             p_this->psz_object_name = strdup( psz_alias ); 
    696         else 
    697             p_this->psz_object_name = strdup( p_module->psz_object_name ); 
     694        p_this->psz_object_name = p_module->psz_object_name; 
    698695    } 
    699696