rc: remove silly efree check
parent
f2f19dd888
commit
c7522489a3
|
@ -129,8 +129,7 @@ Xbackq(void)
|
||||||
*s='\0';
|
*s='\0';
|
||||||
v = newword(wd, v);
|
v = newword(wd, v);
|
||||||
}
|
}
|
||||||
if(wd)
|
free(wd);
|
||||||
efree(wd);
|
|
||||||
closeio(f);
|
closeio(f);
|
||||||
Waitfor(pid, 0);
|
Waitfor(pid, 0);
|
||||||
/* v points to reversed arglist -- reverse it onto argv */
|
/* v points to reversed arglist -- reverse it onto argv */
|
||||||
|
@ -230,4 +229,4 @@ execforkexec(void)
|
||||||
}
|
}
|
||||||
addwaitpid(pid);
|
addwaitpid(pid);
|
||||||
return pid;
|
return pid;
|
||||||
}
|
}
|
||||||
|
|
|
@ -108,8 +108,7 @@ Xbackq(void)
|
||||||
*s='\0';
|
*s='\0';
|
||||||
v=newword(wd, v);
|
v=newword(wd, v);
|
||||||
}
|
}
|
||||||
if(wd)
|
free(wd);
|
||||||
efree(wd);
|
|
||||||
closeio(f);
|
closeio(f);
|
||||||
Waitfor(pid, 1);
|
Waitfor(pid, 1);
|
||||||
/* v points to reversed arglist -- reverse it onto argv */
|
/* v points to reversed arglist -- reverse it onto argv */
|
||||||
|
|
Loading…
Reference in New Issue