src/video/SDL_yuv_sw.c
changeset 9 a1c15fa4abb9
parent 0 74212992fb08
child 252 e8157fcb3114
     1.1 --- a/src/video/SDL_yuv_sw.c	Fri Apr 27 16:56:47 2001 +0000
     1.2 +++ b/src/video/SDL_yuv_sw.c	Fri Apr 27 20:25:25 2001 +0000
     1.3 @@ -1299,6 +1299,9 @@
     1.4  
     1.5  	swdata = overlay->hwdata;
     1.6  	if ( swdata ) {
     1.7 +		if ( swdata->stretch ) {
     1.8 +			SDL_FreeSurface(swdata->stretch);
     1.9 +		}
    1.10  		if ( swdata->pixels ) {
    1.11  			free(swdata->pixels);
    1.12  		}