rbug: fix rbug when contexts are being destroyed
authorZack Rusin <zackr@vmware.com>
Thu, 23 Sep 2010 00:40:44 +0000 (20:40 -0400)
committerZack Rusin <zackr@vmware.com>
Thu, 23 Sep 2010 00:41:23 +0000 (20:41 -0400)
src/gallium/drivers/rbug/rbug_context.c

index 3ffda87520f063a16a59929259ef7d31d94f23e2..413da59e559965680febad428dec4dd66e39a859 100644 (file)
@@ -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);