summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2002-10-02 07:55:27 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2002-10-02 07:55:27 +0000
commit381e0fe7f8ee5a9500fdb91d83ce45915b64db5f (patch)
tree8e3a2d82e347bb46ce76de2c4058edd859ff9537 /shared-core
parent8c14585fc33f2af781261303780c0df70fbe0db2 (diff)
Free correct block in free_block (K. Rasche)
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/radeon_mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/radeon_mem.c b/shared-core/radeon_mem.c
index d77c60b9..5c07c1af 100644
--- a/shared-core/radeon_mem.c
+++ b/shared-core/radeon_mem.c
@@ -118,7 +118,7 @@ static void free_block( struct mem_block *p )
p->size += q->size;
p->next = q->next;
p->next->prev = p;
- DRM_FREE(p);
+ DRM_FREE(q);
}
if (p->prev->pid == 0) {