summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2018-02-27 09:22:04 -0500
committerChris Michael <cp.michael@samsung.com>2018-02-27 09:22:04 -0500
commit72b192c0128661cc40fda2e66614953a00671243 (patch)
tree9c813f440309c58ba2d792003640edebf7d4e977 /src/lib/ecore_drm2
parentfc4f66c6c234d95d807342927044f5ce9276e9a9 (diff)
ecore-drm2: Free stringshare for relative output during output_free
When we destroy a given output, we should be freeing the eina_stringshare for relative.to Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_drm2')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_outputs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_outputs.c b/src/lib/ecore_drm2/ecore_drm2_outputs.c
index d1f7ad0d07..a27826ee1e 100644
--- a/src/lib/ecore_drm2/ecore_drm2_outputs.c
+++ b/src/lib/ecore_drm2/ecore_drm2_outputs.c
@@ -917,6 +917,7 @@ _output_destroy(Ecore_Drm2_Device *dev EINA_UNUSED, Ecore_Drm2_Output *output)
917 eina_stringshare_del(output->make); 917 eina_stringshare_del(output->make);
918 eina_stringshare_del(output->model); 918 eina_stringshare_del(output->model);
919 eina_stringshare_del(output->serial); 919 eina_stringshare_del(output->serial);
920 eina_stringshare_del(output->relative.to);
920 921
921 sym_drmModeFreeProperty(output->dpms); 922 sym_drmModeFreeProperty(output->dpms);
922 free(output->edid.blob); 923 free(output->edid.blob);