I've added a line in the XmText and XmTextField's destroy
methods, but only for the Motif 2.* case.

Does this help ? I don't currently have leak detection
stuff set up.

        Danny

Alexander Mai wrote:
> 
> XmImGetXIC() most of the time creates/gets an XIM
> by XOpenIM(). This is not XClosedIM()ed and seems
> to contribute to leak e.g. for Text widgets
> (the initial caller from this side _XmTextSetEditable();
> we lack to clean up properly when the widget is being destroyed).
> 
> This way I noticed that our leak checks for specific widgets
> are too simple: we should not only create them, but Realize the
> whole stuff?!

-- 
Danny Backx ([EMAIL PROTECTED] [EMAIL PROTECTED])
Home page :     http://users.skynet.be/danny.backx
Projects:       LessTif (http://www.lesstif.org)
                Oleo    (http://www.gnu.org/software/oleo/oleo.html)

Reply via email to