rc: remove silly efree check

front
cinap_lenrek 2012-02-08 04:14:32 +01:00
parent f2f19dd888
commit c7522489a3
2 changed files with 3 additions and 5 deletions

View File

@ -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 */

View File

@ -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 */