Commit 6e5543ce authored by Rafaël Carré's avatar Rafaël Carré

interface: fix memleak

parent 2d4abf53
...@@ -124,6 +124,7 @@ int intf_Create( vlc_object_t *p_this, const char *chain ) ...@@ -124,6 +124,7 @@ int intf_Create( vlc_object_t *p_this, const char *chain )
free( psz_tmp ); free( psz_tmp );
free( psz_parser ); free( psz_parser );
p_intf->p_module = module_need( p_intf, "interface", module, true ); p_intf->p_module = module_need( p_intf, "interface", module, true );
free(module);
if( p_intf->p_module == NULL ) if( p_intf->p_module == NULL )
{ {
msg_Err( p_intf, "no suitable interface module" ); msg_Err( p_intf, "no suitable interface module" );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment