Use new allocation for expanding \#

This commit is contained in:
Rangi42
2024-03-02 08:04:59 -05:00
parent dbcb82799e
commit 19bb12754b
3 changed files with 3 additions and 3 deletions

View File

@@ -517,7 +517,7 @@ void lexer_CheckRecursionDepth()
static void freeExpansion(Expansion &expansion)
{
if (expansion.owned)
free(expansion.contents.owned);
delete [] expansion.contents.owned;
}
static bool isMacroChar(char c)