Free correct block in free_block (K. Rasche)
parent
8c14585fc3
commit
381e0fe7f8
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue