dtfile: fixed double free in copy/move collision handler
authoralx <alx@fastestcode.org>
Thu, 2 Jul 2015 20:38:08 +0000 (22:38 +0200)
committerJon Trulson <jon@radscan.com>
Thu, 2 Jul 2015 23:50:21 +0000 (17:50 -0600)
cde/programs/dtfile/OverWrite.c

index 7600be3be51b67c286a044963d28070cfc8aad3d..d54024e366b36f1e87e80b8c6c35c889f3c0e570 100644 (file)
@@ -1523,7 +1523,7 @@ create_multicollide_dialog(Widget           parent_widget,
     s1 = (char *)XtCalloc( 1, 1 );
   else if ( nChanged == 1 )
   {
-    s1 = eMsgOne;
+    s1 = XtNewString(eMsgOne);
   }
   else
   {