[vlc-devel] commit: Fix horrible typo. (Antoine Cellerier )

git version control git at videolan.org
Mon Jan 19 22:24:30 CET 2009


vlc | branch: 0.9-bugfix | Antoine Cellerier <dionoea at videolan.org> | Mon Jan 19 22:20:28 2009 +0100| [44c02ca0c9e2b941ec01176b27ff8ed774f0374e] | committer: Antoine Cellerier 

Fix horrible typo.

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

 modules/misc/lua/intf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/misc/lua/intf.c b/modules/misc/lua/intf.c
index 2c4eb88..3a8d0c8 100644
--- a/modules/misc/lua/intf.c
+++ b/modules/misc/lua/intf.c
@@ -158,7 +158,7 @@ int Open_LuaIntf( vlc_object_t *p_this )
     bool b_config_set = false;
     if( !psz_name ) psz_name = strdup( "dummy" );
 
-    p_intf->p_sys = (intf_sys_t*)malloc( sizeof(intf_sys_t*) );
+    p_intf->p_sys = (intf_sys_t*)malloc( sizeof(intf_sys_t) );
     if( !p_intf->p_sys )
     {
         free( psz_name );




More information about the vlc-devel mailing list