bug_8232 : drop a file in scilab console fixed. 25/16625/2
Cedric Delamarre [Thu, 11 Jun 2015 07:44:49 +0000 (09:44 +0200)]
Change-Id: I30e5c1f82e05af2c5450b669e6eed92190695df5

scilab/modules/console/src/c/dropFiles.c

index ad6a1bb..d787bc3 100644 (file)
@@ -87,12 +87,10 @@ BOOL LaunchFilebyExtension(char *File)
 
     if (CommandLine)
     {
-        wchar_t* pwstCommandLine = to_wide_string(CommandLine);
-        StoreCommand(pwstCommandLine);
+        StoreCommand(CommandLine);
         bOK = TRUE;
 
         FREE(CommandLine);
-        FREE(pwstCommandLine);
         CommandLine = NULL;
     }