cedric pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=6d40d0dbbc643d8c1cf5754882f88b3192d50163
commit 6d40d0dbbc643d8c1cf5754882f88b3192d50163 Author: Sung-Taek Hong <sth253.h...@samsung.com> Date: Mon Oct 19 11:43:13 2015 -0700 elc_file_selector_button: free allocated path name Summary: Currently path is strdup() when getting real path, but it is not freed in some cases. @fix Reviewers: seoz, Hermet, woohyun, cedric Reviewed By: cedric Differential Revision: https://phab.enlightenment.org/D3194 Signed-off-by: Cedric BAIL <ced...@osg.samsung.com> --- src/lib/elc_fileselector_button.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/elc_fileselector_button.c b/src/lib/elc_fileselector_button.c index e602a91..fb5d082 100644 --- a/src/lib/elc_fileselector_button.c +++ b/src/lib/elc_fileselector_button.c @@ -463,6 +463,7 @@ _elm_fileselector_button_elm_interface_fileselector_selected_set(Eo *obj EINA_UN free(path); return EINA_FALSE; } + free(path); } eina_stringshare_replace(&sd->fsd.selection, _path); --