[vlc-commits] addons: Fix leak

Hugo Beauzée-Luyssen git at videolan.org
Mon Jun 19 09:32:42 CEST 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Jun 16 18:07:04 2017 +0200| [d9cb1d5674e3186da705214aaa9a25eecc15cc6f] | committer: Hugo Beauzée-Luyssen

addons: Fix leak

refs #18321

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d9cb1d5674e3186da705214aaa9a25eecc15cc6f
---

 src/misc/addons.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/misc/addons.c b/src/misc/addons.c
index 641ebd3b4a..662b6bcc79 100644
--- a/src/misc/addons.c
+++ b/src/misc/addons.c
@@ -116,6 +116,7 @@ void addon_entry_Release( addon_entry_t * p_entry )
     FOREACH_ARRAY( p_file, p_entry->files )
     free( p_file->psz_filename );
     free( p_file->psz_download_uri );
+    free( p_file );
     FOREACH_END()
     ARRAY_RESET( p_entry->files );
 



More information about the vlc-commits mailing list