Re: [matplotlib-devel] [PATCH] gtkagg backend leaks gc's.

2012-11-26 Thread Damon McDougall
On Sun, Nov 11, 2012 at 4:23 PM, Benjamin Root wrote: > > > On Thursday, November 8, 2012, Carl Michal wrote: >> >> Hello, >> >> I noticed that a program I had that uses canvas.blit() to do animated >> graphs >> with the gtkagg backend was leaking memory. >> >> I tracked this down to gtk gc's bein

Re: [matplotlib-devel] [PATCH] gtkagg backend leaks gc's.

2012-11-11 Thread Benjamin Root
On Thursday, November 8, 2012, Carl Michal wrote: > Hello, > > I noticed that a program I had that uses canvas.blit() to do animated > graphs > with the gtkagg backend was leaking memory. > > I tracked this down to gtk gc's being allocated in agg_to_gtk_drawable with > gdk_gc_new(), but never bein

Re: [matplotlib-devel] [PATCH] gtkagg backend leaks gc's.

2012-11-08 Thread Carl Michal
Hello, I noticed that a program I had that uses canvas.blit() to do animated graphs with the gtkagg backend was leaking memory. I tracked this down to gtk gc's being allocated in agg_to_gtk_drawable with gdk_gc_new(), but never being destroyed. The leak can be seen using the 'Animating selecte