[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] Re: GNU Smalltalk crashes when calling xcb_create_windo
[Help-smalltalk] Re: GNU Smalltalk crashes when calling xcb_create_window via cCall
Wed, 30 Sep 2009 23:14:16 +0400
>2009/9/30, Paolo Bonzini <address@hidden>:
> Notice the "0xffffb224" after the return address? That is the place
> where the callee can store the return value, which is not a "void" but
> an "xcb_void_cookie_t" -- which is a struct.
Ooops, I should be more attentive...
Excellent, I will take it into consideration :)
> BTW, your code has a small memory leak. You can say
> iter := XcbScreenIterator gcNew.
> instead of "new".
Valuable notice, thanks!
Thank you, Gwenael and Paolo, for the help in the resolution of this
problem, now I can sleep easily :)
With best regards,