Mercurial > sdl-ios-xcode
diff src/video/x11/SDL_x11yuv.c @ 409:1c3cf7231cd4
Fixed memory leaks in YUV code
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 13 Jun 2002 11:57:10 +0000 |
parents | 6ca967a46bf1 |
children | 365f57b7c4ac |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11yuv.c Wed Jun 12 23:49:31 2002 +0000 +++ b/src/video/x11/SDL_x11yuv.c Thu Jun 13 11:57:10 2002 +0000 @@ -123,8 +123,10 @@ } } } + XFree(formats); } } + SDL_NAME(XvFreeAdaptorInfo)(ainfo); } if ( xv_port == -1 ) { SDL_SetError("No available video ports for requested format");