Commit 6391721b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Another memory leak

parent 586f3818
...@@ -927,7 +927,7 @@ static void AllocateAllPlugins( vlc_object_t *p_this ) ...@@ -927,7 +927,7 @@ static void AllocateAllPlugins( vlc_object_t *p_this )
{ {
path = copy_next_paths_token( paths_iter, &paths_iter ); path = copy_next_paths_token( paths_iter, &paths_iter );
if( path ) if( path )
vlc_array_append( arraypaths, strdup( path ) ); vlc_array_append( arraypaths, path );
} }
count = vlc_array_count( arraypaths ); count = vlc_array_count( arraypaths );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment