summaryrefslogtreecommitdiff
path: root/src/radeon_video.c
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2008-07-18 12:21:20 -0700
committerAlex Deucher <alexdeucher@gmail.com>2008-08-25 06:19:39 -0400
commita760e628134c6d7d42ec3c98118b6e5f6fcd3e7f (patch)
tree9de8a359b1b0b40c80eebb150d1af9851fff304b /src/radeon_video.c
parentb6c9e2bb5365de82315c6814f915e57b0c4fa444 (diff)
Allocate memory for the bicubic filter texture.
Diffstat (limited to 'src/radeon_video.c')
-rw-r--r--src/radeon_video.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/radeon_video.c b/src/radeon_video.c
index 57dcd8ac..d22e00a5 100644
--- a/src/radeon_video.c
+++ b/src/radeon_video.c
@@ -1678,6 +1678,10 @@ RADEONStopVideo(ScrnInfoPtr pScrn, pointer data, Bool cleanup)
RADEONFreeMemory(pScrn, pPriv->video_memory);
pPriv->video_memory = NULL;
}
+ if (pPriv->bicubic_memory != NULL) {
+ RADEONFreeMemory(pScrn, pPriv->bicubic_memory);
+ pPriv->bicubic_memory = NULL;
+ }
pPriv->videoStatus = 0;
} else {
if(pPriv->videoStatus & CLIENT_VIDEO_ON) {