From 315b3fb1cb4ae9ca3fe74736b8a725ea282acf78 Mon Sep 17 00:00:00 2001 From: Andrew Davison Date: Tue, 26 Nov 2024 18:29:42 +1000 Subject: [PATCH] REVERT Fix???, re issue #634 --- src/heap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/heap.c b/src/heap.c index 31da84af..bc9bea2e 100644 --- a/src/heap.c +++ b/src/heap.c @@ -347,7 +347,7 @@ cell *prepare_call(query *q, bool prefix, cell *p1, pl_idx p1_ctx, unsigned extr } cell *dst = tmp + (prefix ? PREFIX_LEN : NOPREFIX_LEN); - dup_cells_by_ref(dst, p1, p1_ctx, p1->nbr_cells); + copy_cells_by_ref(dst, p1, p1_ctx, p1->nbr_cells); return tmp; }