plug new memory leak

This commit is contained in:
Philip C Monk 2015-05-21 15:15:41 -04:00
parent 36ac4e041d
commit 31dfd24dc5
2 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@
/* U3_CELLOC_TOGGLE: enable toggling of the custum cell allocator /* U3_CELLOC_TOGGLE: enable toggling of the custum cell allocator
* via -g. This slightly slows down the cell allocator even when * via -g. This slightly slows down the cell allocator even when
* it's on. Note that toggling -g breaks the image. If * it's on. Note that toggling -g breaks (maybe?) the image. If
* U3_MEMORY_DEBUG is on, this should generally be on as well. * U3_MEMORY_DEBUG is on, this should generally be on as well.
*/ */
# undef U3_CELLOC_TOGGLE # undef U3_CELLOC_TOGGLE

View File

@ -948,16 +948,16 @@ _unix_desk_sync_into(u3_noun who,
xun = _unix_dir_khan(dir_u); xun = _unix_dir_khan(dir_u);
if ( _(u3ud(xun)) ) { if ( _(u3ud(xun)) ) {
u3z(who); u3z(hox); u3z(syd); u3z(who); u3z(hox); u3z(syd); u3z(xun);
return; return;
} }
else { else {
pax = u3nq(u3_blip, c3__sync, u3k(u3A->sen), u3_nul); pax = u3nq(u3_blip, c3__sync, u3k(u3A->sen), u3_nul);
fav = u3nq(c3__into, who, syd, u3t(xun)); fav = u3nq(c3__into, who, syd, u3k(u3t(xun)));
u3v_plan(pax, fav); u3v_plan(pax, fav);
u3z(hox); u3z(hox); u3z(xun);
return; return;
} }
} }