src/video/Xext/Xv/Xv.c
changeset 429 c1666427297c
parent 411 8c4999b0ac10
child 1168 045f186426e1
--- a/src/video/Xext/Xv/Xv.c	Mon Jul 29 23:20:16 2002 +0000
+++ b/src/video/Xext/Xv/Xv.c	Tue Jul 30 07:25:43 2002 +0000
@@ -395,6 +395,7 @@
   *p_nEncodings = rep.num_encodings;
   *p_pEncodings = pes;
 
+  Xfree(buffer);
   UnlockDisplay(dpy);
   SyncHandle();
 
@@ -978,7 +979,6 @@
 
    UnlockDisplay(dpy);
    SyncHandle();
-
    return ret;
 }