diff options
author | Alan Modra <amodra@bigpond.net.au> | 2005-04-04 11:53:15 +0000 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2005-04-04 21:23:15 +0930 |
commit | 8785e81a289c06e1671ae9ff58a0150c361a36ac (patch) | |
tree | c4afe1a63e8a9f882050452e87ce8d78b3df5d31 /gcc/passes.c | |
parent | 04d8b8197cec9d5beade42759cef94900aa82a26 (diff) | |
download | gcc-8785e81a289c06e1671ae9ff58a0150c361a36ac.zip gcc-8785e81a289c06e1671ae9ff58a0150c361a36ac.tar.gz gcc-8785e81a289c06e1671ae9ff58a0150c361a36ac.tar.bz2 |
passes.c (rest_of_handle_final): NULL unlikely_text_section_name after freeing.
* passes.c (rest_of_handle_final): NULL unlikely_text_section_name
after freeing.
From-SVN: r97536
Diffstat (limited to 'gcc/passes.c')
-rw-r--r-- | gcc/passes.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/passes.c b/gcc/passes.c index a34c975..2ea2a48 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -330,7 +330,10 @@ rest_of_handle_final (void) timevar_push (TV_SYMOUT); (*debug_hooks->function_decl) (current_function_decl); if (unlikely_text_section_name) - free (unlikely_text_section_name); + { + free (unlikely_text_section_name); + unlikely_text_section_name = NULL; + } timevar_pop (TV_SYMOUT); ggc_collect (); |