Fix buffer object list freeing.
parent
f06ad82ecd
commit
cf7c90f7b4
|
@ -2499,7 +2499,7 @@ void drmBOFreeList(drmBOList *list)
|
||||||
DRMLISTDEL(l);
|
DRMLISTDEL(l);
|
||||||
node = DRMLISTENTRY(drmBONode, l, head);
|
node = DRMLISTENTRY(drmBONode, l, head);
|
||||||
free(node);
|
free(node);
|
||||||
l = list->free.next;
|
l = list->list.next;
|
||||||
list->numCurrent--;
|
list->numCurrent--;
|
||||||
list->numOnList--;
|
list->numOnList--;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue