Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
408:b2c97d579dfe | 409:1c3cf7231cd4 |
---|---|
121 break; | 121 break; |
122 } | 122 } |
123 } | 123 } |
124 } | 124 } |
125 } | 125 } |
126 XFree(formats); | |
126 } | 127 } |
127 } | 128 } |
129 SDL_NAME(XvFreeAdaptorInfo)(ainfo); | |
128 } | 130 } |
129 if ( xv_port == -1 ) { | 131 if ( xv_port == -1 ) { |
130 SDL_SetError("No available video ports for requested format"); | 132 SDL_SetError("No available video ports for requested format"); |
131 return(NULL); | 133 return(NULL); |
132 } | 134 } |