diff options
author | Uttam Pawar <uttamp@us.ibm.com> | 2006-03-14 00:24:54 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2006-03-14 00:24:54 +0000 |
commit | a14df7dabe7ede95e34d726741524031746f563c (patch) | |
tree | 594fb29b671a50217635b5c472a25e76a118e4db /gcc/bt-load.c | |
parent | a62cdb32bbaf77729b94d47f4776196cacb30dfc (diff) | |
download | gcc-a14df7dabe7ede95e34d726741524031746f563c.zip gcc-a14df7dabe7ede95e34d726741524031746f563c.tar.gz gcc-a14df7dabe7ede95e34d726741524031746f563c.tar.bz2 |
re PR rtl-optimization/25739 (Memory leak in bt_load.c(augment_live_range))
2006-03-13 Uttam Pawar <uttamp@us.ibm.com>
PR rtl-optimization/25739
* bt-load.c (augment_live_range): Free tos pointer.
* gensupport.c (identify_predicable_attribute): Free
p_false pointer.
* gcov.c (create_file_names): Free name pointer.
From-SVN: r112039
Diffstat (limited to 'gcc/bt-load.c')
-rw-r--r-- | gcc/bt-load.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/bt-load.c b/gcc/bt-load.c index 8531555..70975e4 100644 --- a/gcc/bt-load.c +++ b/gcc/bt-load.c @@ -1,5 +1,6 @@ /* Perform branch target register load optimizations. - Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. + Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 + Free Software Foundation, Inc. This file is part of GCC. @@ -911,6 +912,7 @@ augment_live_range (bitmap live_range, HARD_REG_SET *btrs_live_in_range, { if (full_range) IOR_HARD_REG_SET (*btrs_live_in_range, btrs_live[new_bb->index]); + free (tos); return; } *tos++ = new_bb; |