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