This is the source of most of the FontList leaks I kept seeing.
Strangly, _XmVendorExtDestroy is never called.  The fix below
shows the most obvious way to fix the problem.  I was basically
guessing - there might be a better way of solving the problem.

- Steve

*** lib/Xm/Vendor.c.orig        Sat Jul  8 07:47:50 2000
--- lib/Xm/Vendor.c     Thu Aug  3 18:46:19 2000
***************
*** 1074,1079 ****
--- 1074,1081 ----
        DEBUGOUT(XdbDebug2(__FILE__, w, data->widget,
                "VendorShell Destroy: destroy child\n"));

+       _XmVendorExtDestroy(data->widget);
+
        /* mitch
        XtDestroyWidget(data->widget);
        */



--== Sent via Deja.com http://www.deja.com/ ==--
Before you buy.

Reply via email to