On 06/02/11 21:24, Strelchun, Timothy wrote:
> -----------------------
> Subject: [PATCH] Fixed gfx driver module loading for slave processes.
> 
>  Fixed dfb_gfxcard_load_driver in how graphics driver module
>  loading for slaves processes is handled to address the scenario
>  when there are multiple graphics drivers installed and the
>  module entry that should be loaded is not the first entry found.
>  It was found that a local reference to the next module link must
>  be stored prior to a call to the direct_module_unref function
>  because it will initialize the next field to NULL when there are
>  no more references to the module.  This is the same approach used
>  by the dfb_gfxcard_find_driver function used by the master
>  process.
> -----------------------

Ah, that bug, I was wondering about and could not find easily.

Thanks!

Anyhow, we should use direct_list_foreach_safe instead.

-- 
Best regards,
  Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to