Mesa (radeon-rewrite): radeon: Remove drawable & readable from radeon_dri_mirror
Nicolai Hähnle
nh at kemper.freedesktop.org
Sun May 24 13:42:36 UTC 2009
Module: Mesa
Branch: radeon-rewrite
Commit: 7dd184dc4da37233471875df6f40cce0560cb7bc
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7dd184dc4da37233471875df6f40cce0560cb7bc
Author: Nicolai Hähnle <nhaehnle at gmail.com>
Date: Sun May 24 14:55:51 2009 +0200
radeon: Remove drawable & readable from radeon_dri_mirror
The duplication of state data caused a crash due to double-free on destruction
of context, because a variable wasn't correctly null'ed out.
Signed-off-by: Nicolai Hähnle <nhaehnle at gmail.com>
---
src/mesa/drivers/dri/r200/r200_ioctl.c | 30 ++--
src/mesa/drivers/dri/r200/r200_pixel.c | 30 ++--
src/mesa/drivers/dri/r200/r200_state.c | 152 ++++++++++----------
src/mesa/drivers/dri/r200/r200_swtcl.c | 36 +++---
src/mesa/drivers/dri/r300/r300_ioctl.c | 16 +-
src/mesa/drivers/dri/r300/r300_state.c | 18 ++-
src/mesa/drivers/dri/radeon/radeon_common.c | 63 ++++----
.../drivers/dri/radeon/radeon_common_context.c | 66 ++++-----
.../drivers/dri/radeon/radeon_common_context.h | 27 ++--
src/mesa/drivers/dri/radeon/radeon_ioctl.c | 54 ++++----
src/mesa/drivers/dri/radeon/radeon_lock.c | 8 +-
src/mesa/drivers/dri/radeon/radeon_screen.c | 1 +
src/mesa/drivers/dri/radeon/radeon_state.c | 128 ++++++++--------
13 files changed, 310 insertions(+), 319 deletions(-)
Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=7dd184dc4da37233471875df6f40cce0560cb7bc
More information about the mesa-commit
mailing list