The problem is destroy_context is almost NEVER called.
The only test for destroy_context I know is compiz.
Reported by Vinson Lee.
FDO bug #29150.
util_mempool_destroy(&r300->pool_transfers);
+ r300_update_num_contexts(r300->screen, -1);
+
FREE(r300->aa_state.state);
FREE(r300->blend_color_state.state);
FREE(r300->clip_state.state);
FREE(r300->vertex_stream_state.state);
}
FREE(r300);
-
- r300_update_num_contexts(r300->screen, -1);
}
void r300_flush_cb(void *data)