diff options
author | mueller <mueller@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-15 11:45:30 +0000 |
---|---|---|
committer | mueller <mueller@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-15 11:45:30 +0000 |
commit | 5a30047cc1166eb6ec0def314673f9535c5d44b7 (patch) | |
tree | ee710b19d6216c4dec1c96e78150fde55e460e43 /gcc/collect2.c | |
parent | 4f24072606b69a8fbb28eb194bb7c79a5f3abb1c (diff) | |
download | gcc-5a30047cc1166eb6ec0def314673f9535c5d44b7.tar.gz |
2007-07-15 Dirk Mueller <dmueller@suse.de>
* omega.c (coalesce): Fix memory leak on early exit.
* matrix-reorg.c (check_allocation_function): Likewise.
* tree-vect-transform.c (vect_get_new_vect_var): free result
of concat().
* bb-reorder.c (find_rarely_executed_basic_blocks_and_crossing_edges):
pass pointer to edge vector
(partition_hot_cold_basic_blocks): Fix memory leak.
* collect2.c (prefix_from_string): Free temporary storage.
* reload1.c (fixup_abnormal_edges): Free sbitmap.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126653 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/collect2.c')
-rw-r--r-- | gcc/collect2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/collect2.c b/gcc/collect2.c index 1ef174f534e..1ef3bbf2c12 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -737,6 +737,7 @@ prefix_from_string (const char *p, struct path_prefix *pprefix) else endp++; } + free (nstore); } /* Main program. */ |