vlc | branch: master | Hugo Beauzée-Luyssen <h...@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 );
 

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to