Looks like a simple failure to free the Scale's title string when the widget is 
destroyed.

- Steve

*** lesstif-0.91.3/lib/Xm/Scale.c.orig  Tue May 30 15:53:12 2000
--- lesstif-0.91.3/lib/Xm/Scale.c       Sun Jul  9 00:52:45 2000
***************
*** 598,603 ****
--- 598,607 ----
  static void
  destroy(Widget w)
  {
+     if (Scale_Title(w))
+     {
+         XmStringFree(Scale_Title(w));
+     }
      XmFontListFree(Scale_FontList(w));
      XtDestroyGC(Scale_ForegroundGC(w));
  }



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

Reply via email to