rbug: fix rbug when contexts are being destroyed

This commit is contained in:
Zack Rusin
2010-09-22 20:40:44 -04:00
parent fa11c400d0
commit 1c2423999e

View File

@@ -43,6 +43,7 @@ rbug_destroy(struct pipe_context *_pipe)
struct rbug_context *rb_pipe = rbug_context(_pipe); struct rbug_context *rb_pipe = rbug_context(_pipe);
struct pipe_context *pipe = rb_pipe->pipe; struct pipe_context *pipe = rb_pipe->pipe;
remove_from_list(&rb_pipe->list);
pipe->destroy(pipe); pipe->destroy(pipe);
FREE(rb_pipe); FREE(rb_pipe);