Changeset - r7088:efcc53b386ff
[Not reviewed]
master
0 1 0
rubidium - 17 years ago 2007-06-27 16:41:37
rubidium@openttd.org
(svn r10355) -Fix (r10092): memory leak when encoding (reading) sprites.
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/blitter/8bpp_optimized.cpp
Show inline comments
 
@@ -197,6 +197,7 @@ Sprite *Blitter_8bppOptimized::Encode(Sp
 
	dest_sprite->x_offs = sprite->x_offs;
 
	dest_sprite->y_offs = sprite->y_offs;
 
	memcpy(dest_sprite->data, temp_dst, index);
 
	free(temp_dst);
 

	
 
	return dest_sprite;
 
}
0 comments (0 inline, 0 general)