From 6391721b5a50240dfc9da84d4bac3ba9759f33df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= <rdenis@simphalempin.com> Date: Sun, 1 Jun 2008 16:32:54 +0300 Subject: [PATCH] Another memory leak --- src/modules/modules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/modules.c b/src/modules/modules.c index b1e15341cac4..eeabe10ef65e 100644 --- a/src/modules/modules.c +++ b/src/modules/modules.c @@ -927,7 +927,7 @@ static void AllocateAllPlugins( vlc_object_t *p_this ) { path = copy_next_paths_token( paths_iter, &paths_iter ); if( path ) - vlc_array_append( arraypaths, strdup( path ) ); + vlc_array_append( arraypaths, path ); } count = vlc_array_count( arraypaths ); -- GitLab