From: Revital Eres Date: Sun, 17 Apr 2011 07:41:33 +0000 (+0000) Subject: Free sccs field X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=54333b7cda497346b2f56b79b76d52a8dab7a174;p=gcc.git Free sccs field From-SVN: r172607 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 76448283a3e..444ddb1c3e6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-04-17 Revital Eres + + * ddg.c (free_ddg_all_sccs): Free sccs field in struct ddg_all_sccs. + 2011-04-17 Revital Eres * modulo-sched.c (sms_schedule): Avoid unfreed memory when SMS fails. diff --git a/gcc/ddg.c b/gcc/ddg.c index 07dcde02d26..4543ba7d170 100644 --- a/gcc/ddg.c +++ b/gcc/ddg.c @@ -1011,6 +1011,7 @@ free_ddg_all_sccs (ddg_all_sccs_ptr all_sccs) for (i = 0; i < all_sccs->num_sccs; i++) free_scc (all_sccs->sccs[i]); + free (all_sccs->sccs); free (all_sccs); }