diff src/video/Xext/Xv/Xv.c @ 411:8c4999b0ac10

Fix another memory leak
author Sam Lantinga <slouken@libsdl.org>
date Thu, 13 Jun 2002 16:54:26 +0000
parents eadc0746dfaf
children c1666427297c
line wrap: on
line diff
--- a/src/video/Xext/Xv/Xv.c	Thu Jun 13 12:00:34 2002 +0000
+++ b/src/video/Xext/Xv/Xv.c	Thu Jun 13 16:54:26 2002 +0000
@@ -267,6 +267,7 @@
   *p_nAdaptors = rep.num_adaptors;
   *p_pAdaptors = pas;
 
+  Xfree(buffer);
   UnlockDisplay(dpy);
   SyncHandle();