summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2010-09-22 20:40:44 -0400
committerZack Rusin <[email protected]>2010-09-22 20:41:23 -0400
commit1c2423999e35576bebd7962a907507a81eb79b07 (patch)
tree2d60fd260f7da6badbd85014b9fb7676eb0fe391 /src
parentfa11c400d0bce7b1373312a224cd4daf4c1bda8a (diff)
rbug: fix rbug when contexts are being destroyed
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/rbug/rbug_context.c1
1 files changed, 1 insertions, 0 deletions
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);