forked from enlightenment/efl
parent
bb6589c3f1
commit
9ce131754f
|
@ -137,7 +137,7 @@ _file_load(const char *file)
|
|||
memcpy(text, tmp, eina_file_size_get(f));
|
||||
text[eina_file_size_get(f)] = 0;
|
||||
|
||||
if (eina_file_map_faulted(f))
|
||||
if (eina_file_map_faulted(f, tmp))
|
||||
{
|
||||
free(text);
|
||||
text = NULL;
|
||||
|
|
Loading…
Reference in New Issue