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;
|
break;
|
||||||
for(i=0; i<w->nlist; i++){
|
for(i=0; i<w->nlist; i++){
|
||||||
v = w->list[i];
|
v = w->list[i];
|
||||||
if(v->from)
|
if(v == nil || v->from)
|
||||||
continue;
|
continue;
|
||||||
v->from = w;
|
v->from = w;
|
||||||
q[r++] = v;
|
q[r++] = v;
|
||||||
|
|
Loading…
Reference in a new issue