Commit 586f3818 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix small memory leak

parent e750a488
......@@ -920,7 +920,7 @@ static void AllocateAllPlugins( vlc_object_t *p_this )
#endif
/* If the user provided a plugin path, we add it to the list */
char * userpaths = config_GetPsz( p_this, "plugin-path" );
char *userpaths = config_GetPsz( p_this, "plugin-path" );
char *paths_iter;
for( paths_iter = userpaths; paths_iter; )
......@@ -946,6 +946,7 @@ static void AllocateAllPlugins( vlc_object_t *p_this )
}
vlc_array_destroy( arraypaths );
free( userpaths );
}
/*****************************************************************************
......
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