diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2008-08-26 21:50:23 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2008-08-26 21:50:23 -0400 |
commit | 38aa450fce6a91b35c191fd07112490a62cc29c6 (patch) | |
tree | 990a1a2f6412434df5323a7553e3e7988f0b772f /src/radeon_crtc.c | |
parent | a3cc1d7a421456186024c5c069e403d374a0f0b9 (diff) |
fix some fallout from the common allocator
should fix bug 17317
Diffstat (limited to 'src/radeon_crtc.c')
-rw-r--r-- | src/radeon_crtc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/radeon_crtc.c b/src/radeon_crtc.c index 69a87a42..99992fcf 100644 --- a/src/radeon_crtc.c +++ b/src/radeon_crtc.c @@ -465,8 +465,10 @@ radeon_crtc_shadow_destroy(xf86CrtcPtr crtc, PixmapPtr rotate_pixmap, void *data if (rotate_pixmap) FreeScratchPixmapHeader(rotate_pixmap); - if (data) + if (data) { radeon_free_memory(pScrn, radeon_crtc->crtc_rotate_mem); + radeon_crtc->crtc_rotate_mem = NULL; + } } |