summaryrefslogtreecommitdiff
path: root/hw/kdrive/vesa/vesa.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2000-09-27 20:47:37 +0000
committerKeith Packard <keithp@keithp.com>2000-09-27 20:47:37 +0000
commit6171187e92152a443f7d5dd7f0dad866b3e275ea (patch)
treefac456544632cc6febb67edf12dc2801d72280ed /hw/kdrive/vesa/vesa.c
parent367cab99ece8655bbd8a65096bb68bcfd7ef6fea (diff)
kdrive: memory/fd leaks fixed in fbdev/vesa/trident drivers
Diffstat (limited to 'hw/kdrive/vesa/vesa.c')
-rw-r--r--hw/kdrive/vesa/vesa.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/kdrive/vesa/vesa.c b/hw/kdrive/vesa/vesa.c
index 4542611c0..fa5bfc62d 100644
--- a/hw/kdrive/vesa/vesa.c
+++ b/hw/kdrive/vesa/vesa.c
@@ -19,7 +19,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-/* $XFree86: xc/programs/Xserver/hw/kdrive/vesa/vesa.c,v 1.5 2000/09/15 07:25:13 keithp Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/kdrive/vesa/vesa.c,v 1.6 2000/09/19 23:50:47 keithp Exp $ */
#include "vesa.h"
@@ -795,6 +795,8 @@ vesaScreenFini(KdScreenInfo *screen)
if (pscr->fb)
VbeUnmapFramebuffer(priv->vi, &pscr->mode->vmib, pscr->fb);
+ if (pscr->shadow)
+ KdShadowScreenFini (screen);
screen->fb[0].depth = pscr->origDepth;
return;
}