src/video/SDL_yuv_sw.c
changeset 9 a1c15fa4abb9
parent 0 74212992fb08
child 252 e8157fcb3114
equal deleted inserted replaced
8:5574376c451d 9:a1c15fa4abb9
  1297 {
  1297 {
  1298 	struct private_yuvhwdata *swdata;
  1298 	struct private_yuvhwdata *swdata;
  1299 
  1299 
  1300 	swdata = overlay->hwdata;
  1300 	swdata = overlay->hwdata;
  1301 	if ( swdata ) {
  1301 	if ( swdata ) {
       
  1302 		if ( swdata->stretch ) {
       
  1303 			SDL_FreeSurface(swdata->stretch);
       
  1304 		}
  1302 		if ( swdata->pixels ) {
  1305 		if ( swdata->pixels ) {
  1303 			free(swdata->pixels);
  1306 			free(swdata->pixels);
  1304 		}
  1307 		}
  1305 		if ( swdata->colortab ) {
  1308 		if ( swdata->colortab ) {
  1306 			free(swdata->colortab);
  1309 			free(swdata->colortab);