diff --git a/source/qb64.bas b/source/qb64.bas index ee3c54da2..5e15f749b 100644 --- a/source/qb64.bas +++ b/source/qb64.bas @@ -13078,20 +13078,33 @@ FUNCTION allocarray (n2$, elements$, elementsize, udt) f12$ = f12$ + CRLF + "static ptrszint tmp_long2;" 'free any qbs strings which will be lost in the realloc - f12$ = f12$ + CRLF + "tmp_long=" + elesizestr$ + ";" - f12$ = f12$ + CRLF + "if (tmp_long