From 278c662f237765307f4eaea34a26bca3ef630e3c Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Thu, 3 Jul 2003 09:57:51 +0000 Subject: [PATCH] Fix segfault, caused by premature deletion of some data. Positively, valgrind rocks! [SVN r18931] --- historic/jam/src/make1.c | 1 - jam_src/make1.c | 1 - 2 files changed, 2 deletions(-) diff --git a/historic/jam/src/make1.c b/historic/jam/src/make1.c index 45555bce3..2f2b8cafc 100644 --- a/historic/jam/src/make1.c +++ b/historic/jam/src/make1.c @@ -568,7 +568,6 @@ make1c( state *pState ) /* Clean current includes */ if (t->includes) { - freetargets(t->includes->depends); t->includes = 0; } diff --git a/jam_src/make1.c b/jam_src/make1.c index 45555bce3..2f2b8cafc 100644 --- a/jam_src/make1.c +++ b/jam_src/make1.c @@ -568,7 +568,6 @@ make1c( state *pState ) /* Clean current includes */ if (t->includes) { - freetargets(t->includes->depends); t->includes = 0; }