Fixed memory leaks in YUV code
authorSam Lantinga <slouken@libsdl.org>
Thu, 13 Jun 2002 11:57:10 +0000
changeset 4091c3cf7231cd4
parent 408 b2c97d579dfe
child 410 365f57b7c4ac
Fixed memory leaks in YUV code
src/video/x11/SDL_x11yuv.c
     1.1 --- a/src/video/x11/SDL_x11yuv.c	Wed Jun 12 23:49:31 2002 +0000
     1.2 +++ b/src/video/x11/SDL_x11yuv.c	Thu Jun 13 11:57:10 2002 +0000
     1.3 @@ -123,8 +123,10 @@
     1.4  						}
     1.5  					}
     1.6  				}
     1.7 +				XFree(formats);
     1.8  			}
     1.9  		}
    1.10 +		SDL_NAME(XvFreeAdaptorInfo)(ainfo);
    1.11  	}
    1.12  	if ( xv_port == -1 ) {
    1.13  		SDL_SetError("No available video ports for requested format");