On Sat, Jul 30, 2016 at 6:16 PM, Roland Scheidegger <[email protected]> wrote:
> This looks very bogus to me.
> How is this supposed to work if you immediately close the library again?
> The functions are still going to get used.
> This just segfaults right, left and center.
>
> If you want to fix this for real, some util_format_s3tc_exit() is
> probably needed, albeit I'm not entirely sure it can be made to work
> reliably (not just drivers, but the dri state tracker calls this too.
>
> In any case, I'm going to revert it.

Thanks, I was too hasty.

It's actually not a resource leak, because this lib must be loaded for
the lifetime of the process and then the OS unloads it.

Marek
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to