Re: [Mesa-dev] [PATCH] i965: Don't leave dangling pointer to brw context on failure

2012-09-03 Thread Ian Romanick
On Fri, Aug 31, 2012 at 09:54:40PM -0700, Kenneth Graunke wrote: > On 08/31/2012 03:03 PM, Ian Romanick wrote: > > From: Ian Romanick > > > > Otherwise intelDestroyContext would try to dereference the pointer to > > freed memory. > > > > NOTE: This is a candidate for the 9.0 branch. > > > > Sig

Re: [Mesa-dev] [PATCH] i965: Don't leave dangling pointer to brw context on failure

2012-08-31 Thread Kenneth Graunke
On 08/31/2012 03:03 PM, Ian Romanick wrote: > From: Ian Romanick > > Otherwise intelDestroyContext would try to dereference the pointer to > freed memory. > > NOTE: This is a candidate for the 9.0 branch. > > Signed-off-by: Ian Romanick > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=

[Mesa-dev] [PATCH] i965: Don't leave dangling pointer to brw context on failure

2012-08-31 Thread Ian Romanick
From: Ian Romanick Otherwise intelDestroyContext would try to dereference the pointer to freed memory. NOTE: This is a candidate for the 9.0 branch. Signed-off-by: Ian Romanick Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54301 --- src/mesa/drivers/dri/i965/brw_context.c | 1 + 1 fi