forked from enlightenment/efl
eina vpath - warning - fix constness of string pointer
fixes bad const usage, butnot an actual bug.
This commit is contained in:
parent
9a4e25a7a8
commit
2ec2d97356
|
@ -161,9 +161,9 @@ _eina_vpath_interface_sys_init(void)
|
|||
home = eina_environment_home_get();
|
||||
if (!home)
|
||||
{
|
||||
home = _fallback_home_dir();
|
||||
_eina_vpath_data_add("home", home);
|
||||
free(home);
|
||||
char *home2 = _fallback_home_dir();
|
||||
_eina_vpath_data_add("home", home2);
|
||||
free(home2);
|
||||
}
|
||||
else
|
||||
_eina_vpath_data_add("home", home);
|
||||
|
|
Loading…
Reference in New Issue