diff options
author | Chris Michael <cpmichael@osg.samsung.com> | 2016-04-13 12:55:59 -0400 |
---|---|---|
committer | Chris Michael <cpmichael@osg.samsung.com> | 2016-04-13 12:55:59 -0400 |
commit | acc1a5dcc033733b6085d1b5c2595fe54a042829 (patch) | |
tree | 949e2432528275fb0fd6d64b539b197a74c0d94a /src/lib/ecore_drm/ecore_drm_output.c | |
parent | 89d63475ae486923e687ecb1c0b03725683fa6fc (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 '')
-rw-r--r-- | src/lib/ecore_drm/ecore_drm_output.c | 2 |
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) | |||
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 | ||
535 | free_plane: | 537 | free_plane: |