From: alx Date: Mon, 24 Mar 2014 04:03:21 +0000 (+0100) Subject: DtWidget: Don't free random pointer on Control widget destruction X-Git-Tag: 2.2.2~33 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f6adc98dd77b351aaa5c6dc6dad950491ac07399;p=oweals%2Fcde.git DtWidget: Don't free random pointer on Control widget destruction --- diff --git a/cde/lib/DtWidget/Control.c b/cde/lib/DtWidget/Control.c index 675d553e..7333d1b3 100644 --- a/cde/lib/DtWidget/Control.c +++ b/cde/lib/DtWidget/Control.c @@ -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)