[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
scratch/igc 51d28739800: Fix incorrect stack allocation of Lisp data
From: |
Pip Cet |
Subject: |
scratch/igc 51d28739800: Fix incorrect stack allocation of Lisp data |
Date: |
Tue, 3 Sep 2024 11:29:34 -0400 (EDT) |
branch: scratch/igc
commit 51d287398000772666faa510da2a24b50d024afb
Author: Pip Cet <pipcet@protonmail.com>
Commit: Pip Cet <pipcet@protonmail.com>
Fix incorrect stack allocation of Lisp data
* src/search.c (Fmatch_data): Use 'SAFE_ALLOCA_LISP', not 'SAFE_NALLOCA'.
---
src/search.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/search.c b/src/search.c
index d4560c3b992..526ceba2db2 100644
--- a/src/search.c
+++ b/src/search.c
@@ -2900,7 +2900,7 @@ Return value is undefined if the last search failed. */)
prev = Qnil;
USE_SAFE_ALLOCA;
- SAFE_NALLOCA (data, 1, 2 * search_regs.num_regs + 1);
+ SAFE_ALLOCA_LISP (data, 2 * search_regs.num_regs + 1);
len = 0;
for (i = 0; i < search_regs.num_regs; i++)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- scratch/igc 51d28739800: Fix incorrect stack allocation of Lisp data,
Pip Cet <=