Free correct block in free_block (K. Rasche)

main
Keith Whitwell 2002-10-02 07:55:27 +00:00
parent 8c14585fc3
commit 381e0fe7f8
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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) {