summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Williams <andy@andywilliams.me>2018-05-15 14:47:36 +0100
committerAndy Williams <andy@andywilliams.me>2018-05-15 14:47:36 +0100
commitf06bd09ac8cb7764f05bf91fe77d98c8ff4bee2a (patch)
tree4c1a0f788d32e621d4d826234bca6e93c2683818
parent58f154bcf3f3fecdc5cd30b9aacdc7af6528d6dd (diff)
remove potential double free
-rw-r--r--src/modules/ecore_evas/engines/x/ecore_evas_x.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/modules/ecore_evas/engines/x/ecore_evas_x.c b/src/modules/ecore_evas/engines/x/ecore_evas_x.c
index 88779a2a7c..52484c2798 100644
--- a/src/modules/ecore_evas/engines/x/ecore_evas_x.c
+++ b/src/modules/ecore_evas/engines/x/ecore_evas_x.c
@@ -3562,7 +3562,6 @@ _ecore_evas_x_screen_dpi_get(const Ecore_Evas *ee, int *xdpi, int *ydpi)
3562 if (!out) 3562 if (!out)
3563 { 3563 {
3564norandr: 3564norandr:
3565 if (out) free(out);
3566 scdpi = ecore_x_dpi_get(); 3565 scdpi = ecore_x_dpi_get();
3567 if (xdpi) *xdpi = scdpi; 3566 if (xdpi) *xdpi = scdpi;
3568 if (ydpi) *ydpi = scdpi; 3567 if (ydpi) *ydpi = scdpi;