devproc: nil
This commit is contained in:
parent
3d3a29cd84
commit
4f3724e6e1
1 changed files with 2 additions and 2 deletions
|
@ -623,9 +623,9 @@ procclose(Chan *c)
|
|||
proctrace = nil;
|
||||
unlock(&tlock);
|
||||
}
|
||||
if(QID(c->qid) == Qns && c->aux != 0){
|
||||
if(QID(c->qid) == Qns && c->aux != nil){
|
||||
free(c->aux);
|
||||
c->aux = 0;
|
||||
c->aux = nil;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue