summaryrefslogtreecommitdiff
path: root/src/lib/eina
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-06 17:01:47 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-09 11:43:58 +0000
commit2ec2d9735601076a773443f159b8f4f4b6dbdc85 (patch)
tree7c1720a69f11f946df6dde3b64e68c547ecd2b0f /src/lib/eina
parent9a4e25a7a82dddedf1c3badb13c871f636685069 (diff)
eina vpath - warning - fix constness of string pointer
fixes bad const usage, butnot an actual bug.
Diffstat (limited to 'src/lib/eina')
-rw-r--r--src/lib/eina/eina_vpath.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/eina/eina_vpath.c b/src/lib/eina/eina_vpath.c
index 16d0eedb5f..50dfeb7092 100644
--- a/src/lib/eina/eina_vpath.c
+++ b/src/lib/eina/eina_vpath.c
@@ -161,9 +161,9 @@ _eina_vpath_interface_sys_init(void)
161 home = eina_environment_home_get(); 161 home = eina_environment_home_get();
162 if (!home) 162 if (!home)
163 { 163 {
164 home = _fallback_home_dir(); 164 char *home2 = _fallback_home_dir();
165 _eina_vpath_data_add("home", home); 165 _eina_vpath_data_add("home", home2);
166 free(home); 166 free(home2);
167 } 167 }
168 else 168 else
169 _eina_vpath_data_add("home", home); 169 _eina_vpath_data_add("home", home);