Commit a8193dca authored by desiredeveloper's avatar desiredeveloper

bug

parent e9b24539
......@@ -160,6 +160,9 @@ void exParallel(char **tokens,int n){
j=0;
}
for(int i=0;i<forkcalls;i++)
wait(NULL);
for(int i=0;arglist[i]!=NULL;i++)
free(arglist[i]);
......
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