I have already tried removing some of the code, and the memory leak persists even if there’s nothing to draw. But it may be other problems elsewhere, so I will try to construct a minimum project later and try other things if I have the time. By the way, there’s no valgrind on Windows, and I will first try without such tools as I don’t frequently use Windows. 在 2021年6月25日,下午3:26,Kjell Ahlstedt <kjellahlstedt gmail com> 写道:
|