forked from enlightenment/efl
ecore-drm: Don't leak object properties
When fetching possible planes for an output, we end up leaking object properties here as these were never freed. @fix Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
This commit is contained in:
parent
89d63475ae
commit
acc1a5dcc0
|
@ -530,6 +530,8 @@ _ecore_drm_output_planes_get(Ecore_Drm_Output *output)
|
||||||
drmModeFreeProperty(prop);
|
drmModeFreeProperty(prop);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
drmModeFreeObjectProperties(props);
|
||||||
|
|
||||||
output->planes = eina_list_append(output->planes, eplane);
|
output->planes = eina_list_append(output->planes, eplane);
|
||||||
|
|
||||||
free_plane:
|
free_plane:
|
||||||
|
|
Loading…
Reference in New Issue