Skip to content
Snippets Groups Projects
Commit 34bd6cd3 authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

bug fixed

parent a20c11d7
No related branches found
No related tags found
No related merge requests found
......@@ -54,6 +54,7 @@ void CLToolMain::cmd(const std::string& word,void*val){
comm.Set_fcomm(val);
} else if(word=="run"){
CHECK_NULL(val,word);
argc=argv.size();
char**v=new char* [argc];
for(int i=0;i<argc;++i){
v[i]=new char [argv[i].length()+1];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment