We do not call malloc/free any more

This commit is contained in:
Rangi42
2024-03-02 08:16:30 -05:00
parent 19bb12754b
commit 52f8ecc347
5 changed files with 14 additions and 23 deletions

View File

@@ -240,7 +240,6 @@ static int32_t computeRPNExpr(Patch const *patch, std::vector<Symbol> const &fil
case RPN_BANK_SECT:
// `expression` is not guaranteed to be '\0'-terminated. If it is not,
// `getRPNByte` will have a fatal internal error.
// In either case, `getRPNByte` will not free `expression`.
name = (char const *)expression;
while (getRPNByte(&expression, &size, patch->src, patch->lineNo))
;