Arnau478 / hevi

Hex viewer
https://arnau478.github.io/hevi/
GNU General Public License v3.0
56 stars 2 forks source link

Fix memory leak and deinit GPA #22

Closed Reokodoku closed 2 months ago

Reokodoku commented 2 months ago

Fix a memory leak when joining strings to get the path to the config file and at the end of the program execution deinit the general purpose allocator.

Arnau478 commented 2 months ago

Nice catch! I wasn't calling deinit since I wanted to do an allocator refactor. Don't worry, this is not affected by it. Thanks for the bug fix :)