efl_config: Fix type of returned value (EO)
authorJean-Philippe Andre <jp.andre@samsung.com>
Thu, 31 Aug 2017 11:31:54 +0000 (20:31 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Fri, 1 Sep 2017 01:09:37 +0000 (10:09 +0900)
commit8f10ed091c5811b12648e78a24ba0d25b06068c6
tree4bae7f572b94542b9fff59f53da82372253a4a24
parent23d250efef801e4d4a65acfa45b9f84e784f7f73
efl_config: Fix type of returned value (EO)

An ugly const char * is returned from strdup, freed later with a custom
function that just calls free(). This was probably intended for
stringshare but now free is used. We have to fix the free function for
the EO API so let's keep free(). I'd rather avoid declaring
elm_config_profile_dir_free in the EO files.
src/lib/elementary/efl_config_global.eo
src/lib/elementary/elm_config.c