diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2002-10-02 07:55:27 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2002-10-02 07:55:27 +0000 |
commit | 381e0fe7f8ee5a9500fdb91d83ce45915b64db5f (patch) | |
tree | 8e3a2d82e347bb46ce76de2c4058edd859ff9537 | |
parent | 8c14585fc33f2af781261303780c0df70fbe0db2 (diff) |
Free correct block in free_block (K. Rasche)trunk-20021002
-rw-r--r-- | shared-core/radeon_mem.c | 2 | ||||
-rw-r--r-- | shared/radeon_mem.c | 2 |
2 files changed, 2 insertions, 2 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) { diff --git a/shared/radeon_mem.c b/shared/radeon_mem.c index d77c60b9..5c07c1af 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) { |