forked from enlightenment/efl
if we are mallocing structs... lets set all the members to sane values
shall we... or use CALLOC! :/ SVN revision: 71343
This commit is contained in:
parent
2d425e48db
commit
6bacd49c6d
|
@ -1021,6 +1021,7 @@ eina_file_open(const char *path, Eina_Bool shared)
|
|||
n->fd = fd;
|
||||
n->shared = shared;
|
||||
n->delete_me = EINA_FALSE;
|
||||
n->global_faulty = EINA_FALSE;
|
||||
eina_lock_new(&n->lock);
|
||||
eina_hash_direct_add(_eina_file_cache, n->filename, n);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue