Fix another memory leak
authorSam Lantinga <slouken@libsdl.org>
Thu, 13 Jun 2002 16:54:26 +0000
changeset 4118c4999b0ac10
parent 410 365f57b7c4ac
child 412 ac59b067815b
Fix another memory leak
src/video/Xext/Xv/Xv.c
     1.1 --- a/src/video/Xext/Xv/Xv.c	Thu Jun 13 12:00:34 2002 +0000
     1.2 +++ b/src/video/Xext/Xv/Xv.c	Thu Jun 13 16:54:26 2002 +0000
     1.3 @@ -267,6 +267,7 @@
     1.4    *p_nAdaptors = rep.num_adaptors;
     1.5    *p_pAdaptors = pas;
     1.6  
     1.7 +  Xfree(buffer);
     1.8    UnlockDisplay(dpy);
     1.9    SyncHandle();
    1.10