Quoting Axel Simon <axel.si...@in.tum.de>: > I think there is a problem here in that you pass a simple pointer to > the C function which takes ownership of the memory. In order for your > program not to crash you have to ensure that the pointer remains valid > until the program exists.
Is there a quick intro to memory management in Gtk+ somewhere on the web? I've seen several times where you've pointed at potential leaks, which is great, and I'd like to learn this skill. =) ~d ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Gtk2hs-devel mailing list Gtk2hs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel