Re: [Gtk2hs-devel] darcs patch: Fix a memory leak in customStoreNew (#1251)

2012-05-01 Thread wagnerdm
This patch looks good. Keeping those makeNewGObject/constructNewGObject/wrapNewGObject straight is tough work... applied, thanks! ~d Quoting Takano Akio : > This patch partially fixes #1251. > > With this patch, the test case in #1251 doesn't leak memory, > as long as you don't click the butt

[Gtk2hs-devel] darcs patch: Fix a memory leak in customStoreNew (#1251)

2012-04-24 Thread Takano Akio
This patch partially fixes #1251. With this patch, the test case in #1251 doesn't leak memory, as long as you don't click the button too frequently. If you click the button more frequently than 3 times a second, it will temporarily consume a lot of memory until you stop clicking. Also the program