]> git.sesse.net Git - vlc/blobdiff - modules/control/lirc.c
x264: fix memory leak
[vlc] / modules / control / lirc.c
index 3fd5afbeef050700cdc0706c417cec8c4154502b..94841071398aea3b5dbdcd66589bfad41938f37c 100644 (file)
@@ -189,8 +189,7 @@ static void Process( intf_thread_t *p_intf )
         if( code == NULL )
             return;
 
-        while( vlc_object_alive( p_intf )
-                && (lirc_code2char( p_intf->p_sys->config, code, &c ) == 0)
+        while( (lirc_code2char( p_intf->p_sys->config, code, &c ) == 0)
                 && (c != NULL) )
         {
             if( !strncmp( "key-", c, 4 ) )