ecore-evas-x: Fix double free

Coverity reports, and reading the code confirms, that the variable
'out' has already been freed (or is NULL) when reaching this line of
execution.

Fixes CID1382851

@fix
This commit is contained in:
Christopher Michael 2019-04-24 08:52:02 -04:00
parent 5b2b75a7f2
commit b36833f49b
1 changed files with 0 additions and 1 deletions

View File

@ -3528,7 +3528,6 @@ _ecore_evas_x_screen_geometry_get(const Ecore_Evas *ee, int *x, int *y, int *w,
if (!out)
{
norandr:
if (out) free(out);
if (x) *x = 0;
if (y) *y = 0;
ecore_x_window_size_get(root, w, h);