Mesa (master): rbug: fix rbug when contexts are being destroyed

Zack Rusin zack at kemper.freedesktop.org
Thu Sep 23 00:41:37 UTC 2010


Module: Mesa
Branch: master
Commit: 1c2423999e35576bebd7962a907507a81eb79b07
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c2423999e35576bebd7962a907507a81eb79b07

Author: Zack Rusin <zackr at vmware.com>
Date:   Wed Sep 22 20:40:44 2010 -0400

rbug: fix rbug when contexts are being destroyed

---

 src/gallium/drivers/rbug/rbug_context.c |    1 +
 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 3ffda87..413da59 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);




More information about the mesa-commit mailing list