Re: [PD-dev] deadly leak

2011-12-14 Thread Krzysztof Czaja
On 12/15/2011 12:10 AM, Ivica Ico Bukvic wrote: ... Wow! You just helped me finally solve this riddle! Could it be really this simple? In canvas_free() call inside g_canvas.c simply add the following 2 lines: if (x->gl_editor) canvas_destroy_editor(x); I added them right

[PD-dev] deadly leak

2011-12-12 Thread Krzysztof Czaja
Hi Pd gurus, ever found a single keystroke or a mouse click was duplicated on a patch? A strange bug which always turns out to be fatal at the point of closing the patch? Hit by several such crashes one after another I went hunting. What I found was that there is always a t_editor created for