efl_wl: Fix resource leak

Coverity reports that 'name' is leaked here, so free the return
ecore_x_atom_name_get.

Fixes CID1377537

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2017-07-12 11:24:37 -04:00
parent c45da5c138
commit 627fc6842a
1 changed files with 1 additions and 0 deletions

View File

@ -350,6 +350,7 @@ x11_selection_request(void *d EINA_UNUSED, int t EINA_UNUSED, Ecore_X_Event_Sele
eina_hash_add(pipes, &p->win, p);
break;
}
free(name);
}
return ECORE_CALLBACK_RENEW;
}