preproc: fix incorrect use of nasm_new() in alloc_Token()

The argument to nasm_new() is the pointer, not the indirection from
the pointer. This code is only relevant when compiled without token
recycling (TOKEN_BLOCKSIZE not set), but it is still wrong...

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
C. Masloch 2022-11-21 11:24:18 -08:00 committed by H. Peter Anvin
parent e0959432fe
commit 65d1eca5c6

View File

@ -1819,7 +1819,7 @@ static void delete_Blocks(void)
static inline Token *alloc_Token(void)
{
Token *t;
nasm_new(*t);
nasm_new(t);
return t;
}