splewis / get5

CS:GO Sourcemod plugin for competitive matches/scrims
GNU General Public License v3.0
559 stars 176 forks source link

Fix memory leaks and heap size #1003

Closed nickdnk closed 1 year ago

nickdnk commented 1 year ago

So it turns out there were some pretty nasty memory leaks in 0.13 and 0.14 prereleases, all (I think) of which I have fixed here. This also changes the JSON size limit issue by simply increasing the heap size even further, this time up to 512KB, which allows us plenty of space to allocate multiple static 64kb JSON buffers.