Fix another memory leak
authorSam Lantinga <slouken@libsdl.org>
Thu, 13 Jun 2002 16:54:26 +0000
changeset 411 8c4999b0ac10
parent 410 365f57b7c4ac
child 412 ac59b067815b
Fix another memory leak
src/video/Xext/Xv/Xv.c
--- 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();