audiohda: fix null pointer dereference
parent
db605e7bc8
commit
b2a869489c
|
@ -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 New Issue