summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_drm2/ecore_drm2_device.c')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_device.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_device.c b/src/lib/ecore_drm2/ecore_drm2_device.c
index 67cfebbd8c..da35231ba2 100644
--- a/src/lib/ecore_drm2/ecore_drm2_device.c
+++ b/src/lib/ecore_drm2/ecore_drm2_device.c
@@ -161,11 +161,9 @@ cont:
161 if (found) break; 161 if (found) break;
162 } 162 }
163 163
164 if (!chosen_dev) goto out; 164 if (chosen_dev)
165 ret = eeze_udev_syspath_get_devpath(chosen_dev);
165 166
166 ret = eeze_udev_syspath_get_devpath(chosen_dev);
167
168out:
169 EINA_LIST_FREE(devs, dev) 167 EINA_LIST_FREE(devs, dev)
170 eina_stringshare_del(dev); 168 eina_stringshare_del(dev);
171 169