* eet: correctly reset content of variable.

SVN revision: 54493
This commit is contained in:
Cedric BAIL 2010-11-12 12:19:41 +00:00
parent 298fd33a1a
commit bd39bc4175
1 changed files with 6 additions and 0 deletions

View File

@ -1552,6 +1552,9 @@ eet_open(const char *file,
{ {
fclose(fp); fclose(fp);
fp = NULL; fp = NULL;
memset(&file_stat, 0, sizeof(file_stat));
goto open_error; goto open_error;
} }
@ -1559,6 +1562,9 @@ eet_open(const char *file,
{ {
fclose(fp); fclose(fp);
fp = NULL; fp = NULL;
memset(&file_stat, 0, sizeof(file_stat));
goto open_error; goto open_error;
} }