Fixed indentation.
[libfirm] / ir / lower / lower_switch.c
index 2b78061..d9c130f 100644 (file)
@@ -21,7 +21,6 @@
  * @file
  * @brief   Lowering of Switches if necessary or advantageous.
  * @author  Moritz Kroll
- * @version $Id$
  */
 #include "config.h"
 
@@ -166,6 +165,7 @@ static void analyse_switch1(switch_info_t *info)
 
        info->default_block = targets[pn_Switch_default];
        info->cases         = cases;
+       free(targets);
 }
 
 static void normalize_table(ir_node *switchn, ir_mode *new_mode,