diff lwlib/lwlib-Xm.c @ 458:c33ae14dd6d0 r21-2-44

Import from CVS: tag r21-2-44
author cvs
date Mon, 13 Aug 2007 11:42:25 +0200
parents 98528da0b7fc
children 4b7d425dd3c2
line wrap: on
line diff
--- a/lwlib/lwlib-Xm.c	Mon Aug 13 11:41:26 2007 +0200
+++ b/lwlib/lwlib-Xm.c	Mon Aug 13 11:42:25 2007 +0200
@@ -889,14 +889,14 @@
   else if (class == xmTextWidgetClass)
     {
       if (val->value)
-	free (val->value);
+	XtFree (val->value);
       val->value = XmTextGetString (widget);
       val->edited = True;
     }
   else if (class == xmTextFieldWidgetClass)
     {
       if (val->value)
-	free (val->value);
+	XtFree (val->value);
       val->value = XmTextFieldGetString (widget);
       val->edited = True;
     }