From 738cec7b53f2537746d3101b3e21dc1536fc2d4d Mon Sep 17 00:00:00 2001 From: raster 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! :/ git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@71343 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/eina_file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/eina_file.c b/src/lib/eina_file.c index 3217b1d..544ded8 100644 --- a/src/lib/eina_file.c +++ b/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); } -- 2.7.4