diff options
author | Michel Dänzer <daenzer@vmware.com> | 2011-01-18 10:23:41 +0100 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2011-01-18 10:54:58 +0100 |
commit | 6548bb9836253c586023ffe5ad1497ddabaa50fc (patch) | |
tree | 44ce11e60b9a94215505ea68a722bec423f2735a /src/radeon_video.h | |
parent | edc3496b55577ee8509ddd9188e6f2bcdf7169a1 (diff) |
Fix KMS textured video leaks (bug #33193).
v2: Fix radeon_legacy_free_memory() argument type error pointed out by
Marton Balint, refactor video memory freeing logic into helper function.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=33193 .
Diffstat (limited to 'src/radeon_video.h')
-rw-r--r-- | src/radeon_video.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/radeon_video.h b/src/radeon_video.h index ab0c433e..c315bbb5 100644 --- a/src/radeon_video.h +++ b/src/radeon_video.h @@ -150,6 +150,7 @@ void RADEONVIP_reset(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv); int RADEONSetPortAttribute(ScrnInfoPtr, Atom, INT32, pointer); int RADEONGetPortAttribute(ScrnInfoPtr, Atom ,INT32 *, pointer); +void RADEONFreeVideoMemory(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv); void RADEONStopVideo(ScrnInfoPtr, pointer, Bool); void RADEONQueryBestSize(ScrnInfoPtr, Bool, short, short, short, short, unsigned int *, unsigned int *, pointer); |