forked from enlightenment/efl
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 <cedric@osg.samsung.com>
This commit is contained in:
parent
5bfa138bcc
commit
1f03888c27
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue