audiohda: fix null pointer dereference
This commit is contained in:
parent
db605e7bc8
commit
b2a869489c
1 changed files with 1 additions and 1 deletions
|
@ -572,7 +572,7 @@ findpath(Widget *src)
|
|||
break;
|
||||
for(i=0; i<w->nlist; i++){
|
||||
v = w->list[i];
|
||||
if(v->from)
|
||||
if(v == nil || v->from)
|
||||
continue;
|
||||
v->from = w;
|
||||
q[r++] = v;
|
||||
|
|
Loading…
Reference in a new issue