From 87c8b4bed31dbbf4708549e10814197cac4d8249 Mon Sep 17 00:00:00 2001 From: Caroline Tice Date: Thu, 31 Mar 2005 06:59:59 -0800 Subject: Fix problems with hot/cold partitioning optimization. From-SVN: r97322 --- gcc/passes.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/passes.c') diff --git a/gcc/passes.c b/gcc/passes.c index 988f4f2..2ded2b3 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -332,6 +332,8 @@ 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); timevar_pop (TV_SYMOUT); ggc_collect (); -- cgit v1.1