changeset 411:8c4999b0ac10

Fix another memory leak
author Sam Lantinga <slouken@libsdl.org>
date Thu, 13 Jun 2002 16:54:26 +0000
parents 365f57b7c4ac
children ac59b067815b
files src/video/Xext/Xv/Xv.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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();