]> git.sesse.net Git - vlc/commitdiff
interface: fix memleak
authorRafaël Carré <rafael.carre@gmail.com>
Sun, 26 Jun 2011 18:00:46 +0000 (14:00 -0400)
committerRafaël Carré <rafael.carre@gmail.com>
Sun, 26 Jun 2011 19:29:56 +0000 (15:29 -0400)
src/interface/interface.c

index 5fc7c91b0489fe5489649b35adb5b2a74f5c29ea..abc3248e94f52579c3da522c834e842d9b0debea 100644 (file)
@@ -124,6 +124,7 @@ int intf_Create( vlc_object_t *p_this, const char *chain )
     free( psz_tmp );
     free( psz_parser );
     p_intf->p_module = module_need( p_intf, "interface", module, true );
+    free(module);
     if( p_intf->p_module == NULL )
     {
         msg_Err( p_intf, "no suitable interface module" );