On Fri, Aug 04, 2000 at 08:02:35AM -0700, Steve Olson wrote:
> 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);
> */
This is a dangerous area ...
Perhaps we should wait for an expert to commit this ;-)
--
Alexander Mai
[EMAIL PROTECTED]