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:
Chris Michael 2016-04-13 12:55:59 -04:00
parent 89d63475ae
commit acc1a5dcc0
1 changed files with 2 additions and 0 deletions

View File

@ -530,6 +530,8 @@ _ecore_drm_output_planes_get(Ecore_Drm_Output *output)
drmModeFreeProperty(prop);
}
drmModeFreeObjectProperties(props);
output->planes = eina_list_append(output->planes, eplane);
free_plane: