Horrible hack to prevent lin from getting GCed

Fixes the daemon mode noun leak, sort of, if you squint at it. Better
solution soon to come.
This commit is contained in:
Steve Dee 2013-12-29 13:38:20 +01:00
parent eff8a1ba45
commit f9a65caf9e

View File

@ -1914,6 +1914,13 @@ _lo_mark()
siz_w = u2_cm_mark_internal();
siz_w += _lo_mark_reck(u2_Host.arv_u);
// XX get rid of this
if ( u2_yes == u2_Host.ops_u.dem &&
NULL != u2_Host.uty_u &&
u2_nul != u2_Host.uty_u->lin ) {
siz_w += u2_cm_mark_noun(u2_Host.uty_u->lin);
}
return siz_w;
}