summaryrefslogtreecommitdiff
path: root/src/radeon_video.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2008-08-26 21:50:23 -0400
committerAlex Deucher <alexdeucher@gmail.com>2008-08-26 21:50:23 -0400
commit38aa450fce6a91b35c191fd07112490a62cc29c6 (patch)
tree990a1a2f6412434df5323a7553e3e7988f0b772f /src/radeon_video.c
parenta3cc1d7a421456186024c5c069e403d374a0f0b9 (diff)
fix some fallout from the common allocator
should fix bug 17317
Diffstat (limited to 'src/radeon_video.c')
-rw-r--r--src/radeon_video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/radeon_video.c b/src/radeon_video.c
index 598bf2b6..18299d57 100644
--- a/src/radeon_video.c
+++ b/src/radeon_video.c
@@ -3228,6 +3228,7 @@ RADEONFreeSurface(
if(pPriv->isOn)
RADEONStopSurface(surface);
radeon_free_memory(pScrn, pPriv->surface_memory);
+ pPriv->surface_memory = NULL;
xfree(surface->pitches);
xfree(surface->offsets);
xfree(surface->devPrivate.ptr);