rio: add sanity check in xfidallocthread()

This commit is contained in:
cinap_lenrek 2013-11-01 21:28:03 +01:00
parent f37ee95fbc
commit 837918ee5e

View file

@ -70,6 +70,8 @@ xfidallocthread(void*)
fprint(2, "%p incref %ld\n", x, x->ref);
error("incref");
}
if(x->flushing)
error("flushing in allocate");
if(x->flushtag != -1)
error("flushtag in allocate");
incref(x);