aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-05-02 17:13:32 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-05-02 17:14:57 +0200
commitcf7c90f7b4087764cdd5f6c73328b0cf9dcb0b78 (patch)
tree6205d3d8ff8d4aa29fe08e148c853596c5100399
parentf06ad82ecdc2c84f913bb4d6d48132f27f02c3a9 (diff)
Fix buffer object list freeing.
-rw-r--r--libdrm/xf86drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdrm/xf86drm.c b/libdrm/xf86drm.c
index f07e853f..09c4f298 100644
--- a/libdrm/xf86drm.c
+++ b/libdrm/xf86drm.c
@@ -2499,7 +2499,7 @@ void drmBOFreeList(drmBOList *list)
DRMLISTDEL(l);
node = DRMLISTENTRY(drmBONode, l, head);
free(node);
- l = list->free.next;
+ l = list->list.next;
list->numCurrent--;
list->numOnList--;
}