ecore-drm2: Don't free output plane states if not using atomic
authorChris Michael <cp.michael@samsung.com>
Tue, 30 May 2017 19:57:07 +0000 (15:57 -0400)
committerChris Michael <cp.michael@samsung.com>
Tue, 30 May 2017 19:57:07 +0000 (15:57 -0400)
commitdc3da871396015507801724b7b844e5865f049d0
tree6caea84c7b81f29b9bffc82abfbb376fa8f830c9
parentf2a0e5ae4cc1c946eb83fe6b9fe9b702f3ef1acf
ecore-drm2: Don't free output plane states if not using atomic

If atomic support is not enabled (kernel or env var), then we will not
be filling output plane_states, so no need to free them (if non-atomic).

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/ecore_drm2/ecore_drm2_outputs.c