Ticket #1285 (new defect)

Opened 3 years ago

widgetQueueDraw leaking memory on Windows

Reported by: guest Owned by: somebody
Priority: normal Milestone: 0.13.0
Component: general (Gtk+, Glib) Version: 0.12.4
Keywords: leak Cc:


On Windows (7, 32bits and 64bits) this simple program will leak memory very quickly, more than 1Mb/s.

import Graphics.UI.Gtk

main :: IO ()
main = do
    window <- windowNew
    onDestroy window mainQuit
    onExpose window (\_ -> widgetQueueDraw window >> return True)
    widgetShowAll window

Thinking it was a bug in my code, I asked on Stackoverflow, and it seems like the issue doesn't happen on Linux.


Note: See TracTickets for help on using tickets.