From: cedric Date: Fri, 12 Nov 2010 12:19:41 +0000 (+0000) Subject: * eet: correctly reset content of variable. X-Git-Tag: submit/2.0alpha-wayland/20121127.222001~249 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5150b8d18380bc0a6c6e97df4e7bf0f80c0fb91d;p=profile%2Fivi%2Feet.git * eet: correctly reset content of variable. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@54493 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/eet_lib.c b/src/lib/eet_lib.c index a9f8a68..d7f1a2e 100644 --- a/src/lib/eet_lib.c +++ b/src/lib/eet_lib.c @@ -1552,6 +1552,9 @@ eet_open(const char *file, { fclose(fp); fp = NULL; + + memset(&file_stat, 0, sizeof(file_stat)); + goto open_error; } @@ -1559,6 +1562,9 @@ eet_open(const char *file, { fclose(fp); fp = NULL; + + memset(&file_stat, 0, sizeof(file_stat)); + goto open_error; }