summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2010-11-12 12:19:41 +0000
committerCedric BAIL <cedric.bail@free.fr>2010-11-12 12:19:41 +0000
commitbd39bc4175ec84b130094e9d352cb1d52014bdfe (patch)
tree2a198b87d46adf11a0f30f5f8b098d2c6d1c9377 /legacy
parent298fd33a1aa68fd6d9c3b5e86d735325d45b4a27 (diff)
* eet: correctly reset content of variable.
SVN revision: 54493
Diffstat (limited to 'legacy')
-rw-r--r--legacy/eet/src/lib/eet_lib.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/legacy/eet/src/lib/eet_lib.c b/legacy/eet/src/lib/eet_lib.c
index a9f8a68373..d7f1a2e329 100644
--- a/legacy/eet/src/lib/eet_lib.c
+++ b/legacy/eet/src/lib/eet_lib.c
@@ -1552,6 +1552,9 @@ eet_open(const char *file,
1552 { 1552 {
1553 fclose(fp); 1553 fclose(fp);
1554 fp = NULL; 1554 fp = NULL;
1555
1556 memset(&file_stat, 0, sizeof(file_stat));
1557
1555 goto open_error; 1558 goto open_error;
1556 } 1559 }
1557 1560
@@ -1559,6 +1562,9 @@ eet_open(const char *file,
1559 { 1562 {
1560 fclose(fp); 1563 fclose(fp);
1561 fp = NULL; 1564 fp = NULL;
1565
1566 memset(&file_stat, 0, sizeof(file_stat));
1567
1562 goto open_error; 1568 goto open_error;
1563 } 1569 }
1564 1570