Re: [Mesa-dev] [PATCH 2/2] gallium/rbug: correctly unreference a sampler view

2014-09-22 Thread Brian Paul
On Mon, Sep 22, 2014 at 3:18 PM, Marek Olšák wrote: > From: Marek Olšák > > This fixes heap corruption. The sampler view can be bound in the context, > so we cannot call destroy directly. > --- > src/gallium/drivers/rbug/rbug_objects.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) >

[Mesa-dev] [PATCH 2/2] gallium/rbug: correctly unreference a sampler view

2014-09-22 Thread Marek Olšák
From: Marek Olšák This fixes heap corruption. The sampler view can be bound in the context, so we cannot call destroy directly. --- src/gallium/drivers/rbug/rbug_objects.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gallium/drivers/rbug/rbug_objects.c b/src/gallium