forked from enlightenment/efl
* eet: correctly reset content of variable.
SVN revision: 54493
This commit is contained in:
parent
298fd33a1a
commit
bd39bc4175
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue