summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-08-25 10:49:46 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-08-25 10:49:46 -0700
commit94dbcf3e0d0678a2c8e48c64dffeff4089f28509 (patch)
tree862ee44971afb3d9c6256aeb1d2188a5f27e9a44 /src/modules
parent1626b5b8cdb0457c70ba90b216f475a366ccb256 (diff)
evas: simplify drm output cleanup code.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/evas/engines/drm/evas_engine.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/modules/evas/engines/drm/evas_engine.c b/src/modules/evas/engines/drm/evas_engine.c
index 5779c52..ca05530 100644
--- a/src/modules/evas/engines/drm/evas_engine.c
+++ b/src/modules/evas/engines/drm/evas_engine.c
@@ -84,14 +84,10 @@ eng_output_update(void *engine EINA_UNUSED, void *data, void *einfo, unsigned in
84static void 84static void
85eng_output_free(void *engine EINA_UNUSED, void *data) 85eng_output_free(void *engine EINA_UNUSED, void *data)
86{ 86{
87 Render_Engine *re; 87 Render_Engine *re = data;
88 88
89 re = data; 89 evas_render_engine_software_generic_clean(&re->generic);
90 if (re) 90 free(re);
91 {
92 evas_render_engine_software_generic_clean(&re->generic);
93 free(re);
94 }
95} 91}
96 92
97static Ecore_Drm2_Fb * 93static Ecore_Drm2_Fb *