Commit fd1ca5f3 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Merge branch 'develop' of git.mpimet.mpg.de:cdo into develop

parents c74053c3 5d0a68b9
......@@ -29,7 +29,7 @@ void file_argument_free(argument_t *argument)
assert(argument->argc == 1);
Free(argument->argv);
}
Free(argument);
delete(argument);
}
}
......
......@@ -580,7 +580,7 @@ int expand_wildcards(int processID, int streamCnt)
Free(Process[processID].streamNames[0].args);
Process[processID].streamNames.resize(streamCnt);
// move output streams to the end
for ( i = 1; i < Process[processID].streamCnt; ++i )
Process[processID].streamNames[i+glob_arg->argc-1] = Process[processID].streamNames[i];
......@@ -592,7 +592,7 @@ int expand_wildcards(int processID, int streamCnt)
Process[processID].streamNames[i].argv[0] = strdupx(glob_arg->argv[i]);
Process[processID].streamNames[i].args = strdupx(glob_arg->argv[i]);
}
Process[processID].streamCnt = streamCnt;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment