diff options
author | cltang <cltang@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-08 13:19:05 +0000 |
---|---|---|
committer | cltang <cltang@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-08 13:19:05 +0000 |
commit | bf4b25d781bef20b214f70388857c1e4235fb506 (patch) | |
tree | 0fbb41e37d50df85f3a382d8e5f9e79d5c579f2b /gcc/cfgloop.c | |
parent | 3c80034b37df052d4834ef5738d3c348cf5794ac (diff) | |
download | gcc-bf4b25d781bef20b214f70388857c1e4235fb506.tar.gz |
2012-01-08 Chung-Lin Tang <cltang@codesourcery.com>
* cfgloop.c (cancel_loop): Add free() of bbs array.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182990 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgloop.c')
-rw-r--r-- | gcc/cfgloop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cfgloop.c b/gcc/cfgloop.c index 3f14551f1ab..fa64797f550 100644 --- a/gcc/cfgloop.c +++ b/gcc/cfgloop.c @@ -1285,6 +1285,7 @@ cancel_loop (struct loop *loop) for (i = 0; i < loop->num_nodes; i++) bbs[i]->loop_father = outer; + free (bbs); delete_loop (loop); } |