texture-tower: Remove potential leak

The expression in here does not match the one where we malloc the
data.

https://bugzilla.gnome.org/show_bug.cgi?id=674876
This commit is contained in:
Jasper St. Pierre 2012-04-26 09:45:21 -04:00
parent c64188c67f
commit cd7a74fbcd

View File

@ -546,7 +546,7 @@ texture_tower_revalidate_client (MetaTextureTower *tower,
4 * dest_width,
dest_data);
if (dest_height < source_texture_height)
if (dest_texture_height < source_texture_height)
{
g_free (source_tmp1);
g_free (source_tmp2);