[Mesa-dev] [PATCH RFC] st/mesa: check st_context in st_renderbuffer_delete()

Olivier Fourdan ofourdan at redhat.com
Wed Sep 5 12:41:07 UTC 2018


Hi Marek,

On Thu, Aug 9, 2018 at 7:27 PM Marek Olšák <maraeo at gmail.com> wrote:
>
> This will leak the renderbuffer, but that's not the biggest problem.
>
> In your bug report, you said that the renderbuffer was created by
> intel_new_renderbuffer, but this change is for st/mesa. Something is

My comment in the bugzilla is probably wrong actually...

> horribly wrong here. The intel driver should not ever end up in
> st/mesa, because st/mesa is a different driver. What is going on here?

Actually, the drivers aren't the same, sorry, my mistake:

https://bugs.freedesktop.org/show_bug.cgi?id=107508#c4

So the backtrace is valid wrt the context / driver.

Cheers,
Olivier


More information about the mesa-dev mailing list