mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-14 15:04:14 +03:00
plug new memory leak
This commit is contained in:
parent
36ac4e041d
commit
31dfd24dc5
2
i/n/a.h
2
i/n/a.h
@ -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
|
||||||
|
6
v/unix.c
6
v/unix.c
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user