From b7fbd4108ebd38ad3bbecc761d281016154e73d3 Mon Sep 17 00:00:00 2001 From: Joe Bryan Date: Sun, 28 Oct 2018 20:50:05 -0400 Subject: [PATCH] fixes memory leak (temporarily) by disabling +xeb jet --- jets/tree.c | 8 +++++--- vere/sist.c | 3 --- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/jets/tree.c b/jets/tree.c index 8a749fb95..9804473fb 100644 --- a/jets/tree.c +++ b/jets/tree.c @@ -788,8 +788,9 @@ static u3j_harm _141_two_sqt_a[] = {{".2", u3wc_sqt, c3y}, {}}; static c3_c* _141_two_sqt_ha[] = {0}; static u3j_harm _141_two_vor_a[] = {{".2", u3wc_vor, c3y}, {}}; static c3_c* _141_two_vor_ha[] = {0}; -static u3j_harm _141_two_xeb_a[] = {{".2", u3wc_xeb, c3y}, {}}; -static c3_c* _141_two_xeb_ha[] = {0}; +// disabled, leaks +// static u3j_harm _141_two_xeb_a[] = {{".2", u3wc_xeb, c3y}, {}}; +// static c3_c* _141_two_xeb_ha[] = {0}; static u3j_harm _141_two__in_bif_a[] = {{".2", u3wdi_bif}, {}}; static c3_c* _141_two__in_bif_ha[] = {0}; @@ -928,7 +929,8 @@ static u3j_core _141_two_d[] = { "pow", 7, _141_two_pow_a, 0, _141_two_pow_ha }, { "sqt", 7, _141_two_sqt_a, 0, _141_two_sqt_ha }, { "vor", 7, _141_two_vor_a, 0, _141_two_vor_ha }, - { "xeb", 7, _141_two_xeb_a, 0, _141_two_xeb_ha }, + // disabled, leaks + // { "xeb", 7, _141_two_xeb_a, 0, _141_two_xeb_ha }, { "by", 7, 0, _141_two__by_d, _141_two__by_ha }, { "in", 7, 0, _141_two__in_d, _141_two__in_ha }, diff --git a/vere/sist.c b/vere/sist.c index 5379c9597..f38b9ace2 100644 --- a/vere/sist.c +++ b/vere/sist.c @@ -1292,7 +1292,6 @@ _sist_dawn(u3_noun sed) // XX require https? c3_c* url_c = eth_t ? u3_Host.ops_u.eth_c : "http://localhost:8545"; - // XX leaks nock { // XX check parent if moon // +hull:constitution:ethe: on-chain state @@ -1354,7 +1353,6 @@ _sist_dawn(u3_noun sed) u3z(hul); u3z(liv); u3z(sas); } - // XX leaks nock { fprintf(stderr, "boot: retrieving galaxy table\r\n"); @@ -1366,7 +1364,6 @@ _sist_dawn(u3_noun sed) u3z(oct); u3z(raz); } - // XX leaks nock { fprintf(stderr, "boot: retrieving network domains\r\n");