summaryrefslogtreecommitdiff
path: root/shared/radeon_mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'shared/radeon_mem.c')
-rw-r--r--shared/radeon_mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/radeon_mem.c b/shared/radeon_mem.c
index d77c60b91..5c07c1afe 100644
--- a/shared/radeon_mem.c
+++ b/shared/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) {