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.tile_w,
|
||||
&output->tile_info.tile_h);
|
||||
drmModeFreePropertyBlob (tile_blob);
|
||||
|
||||
if (ret != 8)
|
||||
return FALSE;
|
||||
{
|
||||
meta_warning ("Couldn't understand output tile property blob\n");
|
||||
return FALSE;
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user