Karl Rasche wrote:
> Keith,
> 
> In free_block(), radeon_mem.c, we have:
> 
>  if (p->next->pid == 0) {
>     struct mem_block *q = p->next;
> 
>     p->size += q->size;
>     p->next = q->next;
>     p->next->prev = p;
> 
>     DRM_FREE(p);
>  }
> 
> Should this instead be:
> 
>  if (p->next->pid == 0) {
>     struct mem_block *q = p->next;
> 
>     p->size += q->size;
>     p->next = q->next;
>     p->next->prev = p;
> 
>     DRM_FREE(q);  /* <-- changes here */
>  }
> 
> or did I miss something.

Good catch.  I'll fix that now.

Keith






-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to