I think I've just fixed the longest-standing memory leak we've had. It could very well be the cause of the Gallery server's growing memory usage that we've been seeing.
https://github.com/cuberite/cuberite/pull/3794
This caused about 70 KiB of RAM leaked per server "ping".
https://github.com/cuberite/cuberite/pull/3794
This caused about 70 KiB of RAM leaked per server "ping".