aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_drm
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-04-13 12:55:59 -0400
committerChris Michael <cpmichael@osg.samsung.com>2016-04-13 12:55:59 -0400
commitacc1a5dcc033733b6085d1b5c2595fe54a042829 (patch)
tree949e2432528275fb0fd6d64b539b197a74c0d94a /src/lib/ecore_drm
parentdocs: add descriptions and and more to ecore.idle classes (diff)
downloadefl-acc1a5dcc033733b6085d1b5c2595fe54a042829.tar.gz
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>
Diffstat (limited to 'src/lib/ecore_drm')
-rw-r--r--src/lib/ecore_drm/ecore_drm_output.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_output.c b/src/lib/ecore_drm/ecore_drm_output.c
index be926c6f95..1de8735b0d 100644
--- a/src/lib/ecore_drm/ecore_drm_output.c
+++ b/src/lib/ecore_drm/ecore_drm_output.c
@@ -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: