itch.io is community of indie game creators and players

Devlogs

1.0.9 - buffer leak mini-fix

file_ini - better INI handling
A downloadable extension

It came to my attention that at some point a bug was introduced to shared code, which was causing the buffer with INI string to be parsed to not be freed, meaning that in worst case scenario the extension would be leaking one file worth of memory per file_ini_open/file_ini_parse call - not enough to cause issues in non-exotic use cases, but something that shouldn’t be happening regardless. JS version was unaffected.

This update fixes that.

Files

  • file_ini (for GMS1).gmez 18 kB
    Feb 14, 2021
  • file_ini (for GMS2.2).yymp 25 kB
    Feb 14, 2021
  • file_ini (for GMS2.3 and GM2022+).yymps 17 kB
    Feb 14, 2021
Download file_ini - better INI handling
Leave a comment