Browse Source

dtfile: fixed double free in copy/move collision handler

alx 8 years ago
parent
commit
bd4a4532f0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cde/programs/dtfile/OverWrite.c

+ 1 - 1
cde/programs/dtfile/OverWrite.c

@@ -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
   {