audiohda: fix null pointer dereference

front
cinap_lenrek 2011-11-11 05:48:48 +01:00
parent db605e7bc8
commit b2a869489c
1 changed files with 1 additions and 1 deletions

View File

@ -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;