Hi, I noticed that cfgloop.c:cancel_loop() is missing a free of the bbs
array obtained from get_loop_body(). Committed attached patch as obvious.

Thanks,
Chung-Lin

2012-01-08  Chung-Lin Tang  <clt...@codesourcery.com>

        * cfgloop.c (cancel_loop): Add free() of bbs array.
Index: cfgloop.c
===================================================================
--- cfgloop.c   (revision 182989)
+++ cfgloop.c   (revision 182990)
@@ -1285,6 +1285,7 @@
   for (i = 0; i < loop->num_nodes; i++)
     bbs[i]->loop_father = outer;
 
+  free (bbs);
   delete_loop (loop);
 }
 

Reply via email to