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/gcov.c | |
parent | a62cdb32bbaf77729b94d47f4776196cacb30dfc (diff) | |
download | gcc-a14df7dabe7ede95e34d726741524031746f563c.tar.gz |
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/gcov.c')
-rw-r--r-- | gcc/gcov.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/gcov.c b/gcc/gcov.c index 78f0ad495e7..d8cc9bd0927 100644 --- a/gcc/gcov.c +++ b/gcc/gcov.c @@ -658,6 +658,7 @@ create_file_names (const char *file_name) strcpy (da_file_name, name); strcpy (da_file_name + length, GCOV_DATA_SUFFIX); + free (name); return; } |