Mem leak in sphere mesh node

I was getting a bunch of spam like this:
“[ custom settings ]( custom settings ) loaded in 0.000 seconds.”

in my TTY renderer and eventually I tracked it down to a memory leak in the sphere mesh node. If you change the radius of your sphere it starts eating up memory at a pretty good clip (and spamming your TTY renderer) and you don’t ever get it back.

Seems like it is happening with the box mesh as well. I attached a demo patch . Just unpause the lfo and watch your memory!

Reproed on 45beta26 on Win7. Let me know if I can supply any more details.


memleak patch (4.9 kB)

thanks for the report. fixed the leak, left the spam though…