backends: Plug leaks

The DRM properties container must be destroyed with
drmModeFreeObjectProperties.

https://bugzilla.gnome.org/show_bug.cgi?id=789984
This commit is contained in:
Carlos Garnacho 2017-11-07 10:59:51 +01:00
parent 2882ddec7b
commit 8d7f425de4

View File

@ -312,6 +312,8 @@ find_crtc_properties (MetaMonitorManagerKms *manager_kms,
drmModeFreeProperty (prop); drmModeFreeProperty (prop);
} }
drmModeFreeObjectProperties (props);
} }
static drmModePropertyBlobPtr static drmModePropertyBlobPtr