This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] [committed] fix leak tree-ssa-dce.c
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: "gcc-patches at gcc dot gnu dot org Patches" <gcc-patches at gcc dot gnu dot org>
- Cc: Andrew Pinski <pinskia at physics dot uc dot edu>
- Date: Thu, 13 May 2004 19:01:00 -0400
- Subject: [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. */