summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyu.z.wang@intel.com>2007-11-01 22:22:27 +0800
committerZhenyu Wang <zhenyu.z.wang@intel.com>2007-11-01 22:22:27 +0800
commit50d3693a6862028e50bc5ba8c788e7ea573c3eb8 (patch)
tree739612fdea784e79c21873a5eb1a170d72adeb44
parentecd995d533d28b622afc71a20504d47c33ff5b8d (diff)
Fix allocation reset for really not free BO allocator
-rw-r--r--src/i830_memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_memory.c b/src/i830_memory.c
index d9f8a261..7b89c40f 100644
--- a/src/i830_memory.c
+++ b/src/i830_memory.c
@@ -322,7 +322,7 @@ i830_reset_allocations(ScrnInfoPtr pScrn)
}
#endif
- i830_free_memory(pScrn, pI830->memory_list->next);
+ i830_free_memory(pScrn, mem);
}
/* Free any allocations in buffer objects */