matplotlib/matplotlib — pull request #1485 by cmichal2 (2012-11-11 22:48:03+00:00)
Title: Fix leak of gc's in gtkagg backend

The gtkagg backend creates gc's with gdk_gc_new, but never destroyed them. This commit adds a matching gdk_gc_destroy to fix the memory leak.