forked from enlightenment/efl
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:
parent
c45da5c138
commit
627fc6842a
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue