DtWidget: Don't free random pointer on Control widget destruction
authoralx <alx@fastestcode.org>
Mon, 24 Mar 2014 04:03:21 +0000 (05:03 +0100)
committerJon Trulson <jon@radscan.com>
Mon, 24 Mar 2014 05:07:52 +0000 (23:07 -0600)
cde/lib/DtWidget/Control.c

index 675d553e2f8318494973ae87817b4b91419e874a..7333d1b31f6755dbb46b02b85681e4b52ee5cd33 100644 (file)
@@ -900,6 +900,7 @@ Initialize(
       G_AltPix (new) = XmUNSPECIFIED_PIXMAP;
       G_AltMask (new) = XmUNSPECIFIED_PIXMAP;
       G_MonitorTimer (new) = 0;
+      G_FileName (new) = NULL;
     }
   
   if (G_ControlType (new) == XmCONTROL_DATE)