summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine ELIAS <antoine.elias@scilab-enterprises.com>2016-11-10 08:37:06 +0100
committerAntoine ELIAS <antoine.elias@scilab-enterprises.com>2016-11-10 08:37:06 +0100
commit129acd88468f9ecb4dc0cde11c17e992cd21f35f (patch)
tree332f16ccb30d4cf785a51838115b440344acab03
parenta02ac02fc11148b025cb616339e91f993549b58e (diff)
downloadscilab-129acd88468f9ecb4dc0cde11c17e992cd21f35f.zip
scilab-129acd88468f9ecb4dc0cde11c17e992cd21f35f.tar.gz
utf: functions 2
Change-Id: Ib7e5a01373c5cfd5033a5c52037f10d07f6328b6
-rw-r--r--scilab/modules/functions/sci_gateway/cpp/sci_exec.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/scilab/modules/functions/sci_gateway/cpp/sci_exec.cpp b/scilab/modules/functions/sci_gateway/cpp/sci_exec.cpp
index 7abc4c8..31b2be2 100644
--- a/scilab/modules/functions/sci_gateway/cpp/sci_exec.cpp
+++ b/scilab/modules/functions/sci_gateway/cpp/sci_exec.cpp
@@ -164,8 +164,6 @@ types::Function::ReturnValue sci_exec(types::typed_list &in, int _iRetCount, typ
164 stFile = pstFile; 164 stFile = pstFile;
165 file = new std::ifstream(pstFile); 165 file = new std::ifstream(pstFile);
166 166
167 FREE(pstFile);
168
169 char* pstTemp = (char*)MALLOC(sizeof(char) * (PATH_MAX * 2)); 167 char* pstTemp = (char*)MALLOC(sizeof(char) * (PATH_MAX * 2));
170 get_full_path(pstTemp, pstFile, PATH_MAX * 2); 168 get_full_path(pstTemp, pstFile, PATH_MAX * 2);
171 stFile = pstTemp; 169 stFile = pstTemp;