diff options
author | Michel Dänzer <daenzer@vmware.com> | 2011-01-18 16:07:52 +0100 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2011-01-18 16:08:28 +0100 |
commit | 57fbddfc21d8c6794f378489b764cc2a0ad4a48c (patch) | |
tree | 7e83294033e19ac5acaad59f73ce975ce4febb06 /src/radeon_video.c | |
parent | 6548bb9836253c586023ffe5ad1497ddabaa50fc (diff) |
Fix crash freeing KMS video memory.
Where's that brown paper bag? :}
Diffstat (limited to 'src/radeon_video.c')
-rw-r--r-- | src/radeon_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_video.c b/src/radeon_video.c index 4355f8bb..58e3920b 100644 --- a/src/radeon_video.c +++ b/src/radeon_video.c @@ -1656,7 +1656,7 @@ RADEONFreeVideoMemory(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv) if (info->cs && pPriv->textured) { pPriv->src_bo[0] = NULL; - radeon_legacy_free_memory(pScrn, (void*)&pPriv->src_bo[1]); + radeon_legacy_free_memory(pScrn, pPriv->src_bo[1]); pPriv->src_bo[1] = NULL; } } |