summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_outputs.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_outputs.c b/src/lib/ecore_drm2/ecore_drm2_outputs.c
index 3173165aa5..60e4f8e7d8 100644
--- a/src/lib/ecore_drm2/ecore_drm2_outputs.c
+++ b/src/lib/ecore_drm2/ecore_drm2_outputs.c
@@ -923,14 +923,14 @@ _output_destroy(Ecore_Drm2_Device *dev, Ecore_Drm2_Output *output)
923 } 923 }
924#endif 924#endif
925 925
926 EINA_LIST_FREE(output->plane_states, pstate)
927 free(pstate);
928
929 EINA_LIST_FREE(output->planes, plane)
930 free(plane);
931
932 if (_ecore_drm2_use_atomic) 926 if (_ecore_drm2_use_atomic)
933 { 927 {
928 EINA_LIST_FREE(output->plane_states, pstate)
929 free(pstate);
930
931 EINA_LIST_FREE(output->planes, plane)
932 free(plane);
933
934 free(output->conn_state); 934 free(output->conn_state);
935 free(output->crtc_state); 935 free(output->crtc_state);
936 } 936 }