This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] [committed] fix leak in tree-ssa.c


Patch says everything.
Committed as obvious.

ChangeLog:
2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree-ssa.c (delete_tree_ssa): XFREE
        bitmaps allocated with BITMAP_XMALLOC.

Patch:
Index: tree-ssa.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-ssa.c,v
retrieving revision 2.1
diff -u -p -r2.1 tree-ssa.c
--- tree-ssa.c	13 May 2004 06:39:50 -0000	2.1
+++ tree-ssa.c	13 May 2004 23:12:03 -0000
@@ -521,7 +521,7 @@ delete_tree_ssa (void)
   fini_ssa_operands ();

   global_var = NULL_TREE;
-  BITMAP_FREE (call_clobbered_vars);
+  BITMAP_XFREE (call_clobbered_vars);
   call_clobbered_vars = NULL;
   aliases_computed_p = false;
 }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]