From: Zack Rusin Date: Thu, 23 Sep 2010 00:40:44 +0000 (-0400) Subject: rbug: fix rbug when contexts are being destroyed X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1c2423999e35576bebd7962a907507a81eb79b07;p=mesa.git rbug: fix rbug when contexts are being destroyed --- diff --git a/src/gallium/drivers/rbug/rbug_context.c b/src/gallium/drivers/rbug/rbug_context.c index 3ffda87520f..413da59e559 100644 --- a/src/gallium/drivers/rbug/rbug_context.c +++ b/src/gallium/drivers/rbug/rbug_context.c @@ -43,6 +43,7 @@ rbug_destroy(struct pipe_context *_pipe) struct rbug_context *rb_pipe = rbug_context(_pipe); struct pipe_context *pipe = rb_pipe->pipe; + remove_from_list(&rb_pipe->list); pipe->destroy(pipe); FREE(rb_pipe);