[vlc-devel] commit: Extensions/Lua: free extension strings ( Jean-Philippe André )

git version control git at videolan.org
Fri Jan 29 01:17:53 CET 2010


vlc | branch: master | Jean-Philippe André <jpeg at videolan.org> | Fri Jan 29 00:33:05 2010 +0100| [55d48a71d36fbcb5bc7156f907bd821c3c72eec7] | committer: Jean-Philippe André 

Extensions/Lua: free extension strings

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

 modules/misc/lua/extension.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/modules/misc/lua/extension.c b/modules/misc/lua/extension.c
index 6c53651..05c08da 100644
--- a/modules/misc/lua/extension.c
+++ b/modules/misc/lua/extension.c
@@ -389,6 +389,10 @@ exit:
     {
         free( p_ext->psz_name );
         free( p_ext->psz_title );
+        free( p_ext->psz_url );
+        free( p_ext->psz_author );
+        free( p_ext->psz_description );
+        free( p_ext->psz_version );
         vlc_mutex_destroy( &p_ext->p_sys->command_lock );
         vlc_mutex_destroy( &p_ext->p_sys->running_lock );
         vlc_cond_destroy( &p_ext->p_sys->wait );




More information about the vlc-devel mailing list