summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
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) {