From 6bacd49c6d5a3735981c9f379b63f1ce399163b2 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Wed, 23 May 2012 04:21:43 +0000 Subject: [PATCH] if we are mallocing structs... lets set all the members to sane values shall we... or use CALLOC! :/ SVN revision: 71343 --- legacy/eina/src/lib/eina_file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/legacy/eina/src/lib/eina_file.c b/legacy/eina/src/lib/eina_file.c index 3217b1d166..544ded810d 100644 --- a/legacy/eina/src/lib/eina_file.c +++ b/legacy/eina/src/lib/eina_file.c @@ -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); }