forked from enlightenment/efl
Initialize ef->writes_pending.
Valgrind just noticed that "writes_pending" was not being initialized, probably because some old code used calloc() (based on the comment at the allocation step). SVN revision: 34777
This commit is contained in:
parent
f153d22daf
commit
83b37319b9
|
@ -1231,6 +1231,7 @@ eet_open(const char *file, Eet_File_Mode mode)
|
|||
ef->mode = mode;
|
||||
ef->header = NULL;
|
||||
ef->mtime = file_stat.st_mtime;
|
||||
ef->writes_pending = 0;
|
||||
ef->delete_me_now = 0;
|
||||
ef->data = NULL;
|
||||
ef->data_size = 0;
|
||||
|
|
Loading…
Reference in New Issue