ITADN

Do not use `free` with string buffer returned by `umkaAsm`

#224Closedvtereshkov 创建于 2025-05-02
V
vtereshkovcommented
The Umka compiler has been switched to a garbage-collecting allocator. You no longer need to use `free` with the string buffer returned by `umkaAsm`. The buffer pointer stays valid until `umkaFree` is called. Using `free` causes a segmentation fault. Remove this line: https://github.com/tophat2d/tophat/blob/main/src/main.c#L156
关闭于 2025-05-02 0 条评论