Commit b78384e0 by Chung-Lin Tang Committed by Chung-Lin Tang

cfgloop.c (cancel_loop): Add free() of bbs array.

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

	* cfgloop.c (cancel_loop): Add free() of bbs array.

From-SVN: r182990
parent 8dfb08ab
2012-01-08 Chung-Lin Tang <cltang@codesourcery.com>
* cfgloop.c (cancel_loop): Add free() of bbs array.
2012-01-07 Jan Hubicka <jh@suse.cz> 2012-01-07 Jan Hubicka <jh@suse.cz>
PR tree-optimization/51600 PR tree-optimization/51600
...@@ -1285,6 +1285,7 @@ cancel_loop (struct loop *loop) ...@@ -1285,6 +1285,7 @@ cancel_loop (struct loop *loop)
for (i = 0; i < loop->num_nodes; i++) for (i = 0; i < loop->num_nodes; i++)
bbs[i]->loop_father = outer; bbs[i]->loop_father = outer;
free (bbs);
delete_loop (loop); delete_loop (loop);
} }
......
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