From 3553e43531eba85f7f8617152534000562dd7177 Mon Sep 17 00:00:00 2001 From: Joe Bryan Date: Wed, 11 Oct 2023 10:31:41 -0400 Subject: [PATCH] u3: use u3a_celloc() in u3a_take() --- pkg/noun/allocate.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/noun/allocate.c b/pkg/noun/allocate.c index a23c1231a2..90f1b624fc 100644 --- a/pkg/noun/allocate.c +++ b/pkg/noun/allocate.c @@ -1123,9 +1123,7 @@ _ca_take_atom(u3a_atom* old_u) static inline u3_cell _ca_take_cell(u3a_cell* old_u, u3_noun hed, u3_noun tel) { - // XX use u3a_celloc? - // - c3_w* new_w = u3a_walloc(c3_wiseof(u3a_cell)); + c3_w* new_w = u3a_celloc(); u3a_cell* new_u = (u3a_cell*)(void *)new_w; u3_cell new = u3a_to_pom(u3a_outa(new_u));