fixed a memory leak -- not clearing finf.tvertices

This commit is contained in:
Zeno Rogue 2021-06-25 18:52:18 +02:00
parent b6a6b1b442
commit 241e731663
1 changed files with 3 additions and 1 deletions

View File

@ -2489,7 +2489,9 @@ EX void drawqueue() {
#endif
if(!keep_curvedata) {
curvedata.clear(); curvestart = 0;
curvedata.clear();
finf.tvertices.clear();
curvestart = 0;
}
#if CAP_GL