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 tree-ssa-dce.c


Patch says it all.
Committed as obvious.

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

        * tree-ssa-dce.c (perform_tree_ssa_dce): Free
        el at the end of the function.

Patch:
Index: tree-ssa-dce.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-ssa-dce.c,v
retrieving revision 2.1
diff -u -p -r2.1 tree-ssa-dce.c
--- tree-ssa-dce.c	13 May 2004 06:39:49 -0000	2.1
+++ tree-ssa-dce.c	13 May 2004 22:59:27 -0000
@@ -855,6 +855,8 @@ perform_tree_ssa_dce (bool aggressive)
     }

   tree_dce_done (aggressive);
+
+  free_edge_list (el);
 }

/* Pass entry points. */


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