mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 03:20:46 -05:00
MetaMonitorManagerKms: Don't leak tile property blob
Also warn when we don't understand the property blob we got. https://bugzilla.gnome.org/show_bug.cgi?id=777732
This commit is contained in:
parent
9b64e09a24
commit
4177d4f9f4
@ -368,9 +368,13 @@ output_get_tile_info (MetaMonitorManagerKms *manager_kms,
|
|||||||
&output->tile_info.loc_v_tile,
|
&output->tile_info.loc_v_tile,
|
||||||
&output->tile_info.tile_w,
|
&output->tile_info.tile_w,
|
||||||
&output->tile_info.tile_h);
|
&output->tile_info.tile_h);
|
||||||
|
drmModeFreePropertyBlob (tile_blob);
|
||||||
|
|
||||||
if (ret != 8)
|
if (ret != 8)
|
||||||
|
{
|
||||||
|
meta_warning ("Couldn't understand output tile property blob\n");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user