summaryrefslogtreecommitdiff
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
parent89d63475ae486923e687ecb1c0b03725683fa6fc (diff)
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 be926c6..1de8735 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)
530 drmModeFreeProperty(prop); 530 drmModeFreeProperty(prop);
531 } 531 }
532 532
533 drmModeFreeObjectProperties(props);
534
533 output->planes = eina_list_append(output->planes, eplane); 535 output->planes = eina_list_append(output->planes, eplane);
534 536
535free_plane: 537free_plane: