mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
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:
parent
c64188c67f
commit
cd7a74fbcd
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user