diff options
author | Cedric BAIL <cedric.bail@free.fr> | 2010-11-12 12:19:41 +0000 |
---|---|---|
committer | Cedric BAIL <cedric.bail@free.fr> | 2010-11-12 12:19:41 +0000 |
commit | 00da000c2bd70cc9ecb15fa57f7c4d6e1d63af25 (patch) | |
tree | dd824a50b813f74c3a4dc537022d96e754837d3e | |
parent | 46bd3ba4fd90f3201a1ca52c670f095453928bce (diff) | |
download | eet-00da000c2bd70cc9ecb15fa57f7c4d6e1d63af25.tar.gz |
* eet: correctly reset content of variable.
SVN revision: 54493
-rw-r--r-- | src/lib/eet_lib.c | 6 |
1 files changed, 6 insertions, 0 deletions
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; } |