]> git.sesse.net Git - vlc/blobdiff - modules/control/http/macro.c
The last but not the least commit about these useless tests.
[vlc] / modules / control / http / macro.c
index 95fcf0352e2b288f22d639ccd2bbd18b334a1a25..6971c992ac45f5799538cb21a8995a171d499ebd 100644 (file)
@@ -390,7 +390,7 @@ static void MacroDo( httpd_file_sys_t *p_args,
                         }
                     }
 
-                    if( p_items ) free( p_items );
+                    free( p_items );
                     break;
                 }
                 case MVLC_KEEP:
@@ -432,7 +432,7 @@ static void MacroDo( httpd_file_sys_t *p_args,
                         }
                     }
 
-                    if( p_items ) free( p_items );
+                    free( p_items );
                     break;
                 }
                 case MVLC_EMPTY: