diff --git a/ole/stg_bigblockfile.c b/ole/stg_bigblockfile.c index 8728f60f3b0..564bc64c89b 100644 --- a/ole/stg_bigblockfile.c +++ b/ole/stg_bigblockfile.c @@ -117,6 +117,14 @@ BigBlockFile * BIGBLOCKFILE_Construct( This->fileBased = fileBased; + This->flProtect = BIGBLOCKFILE_GetProtectMode(openFlags); + + This->blocksize = blocksize; + + /* initialize the block list + */ + This->headblock = NULL; + if (This->fileBased) { if (!BIGBLOCKFILE_FileInit(This, hFile)) @@ -134,14 +142,6 @@ BigBlockFile * BIGBLOCKFILE_Construct( } } - This->flProtect = BIGBLOCKFILE_GetProtectMode(openFlags); - - This->blocksize = blocksize; - - /* initialize the block list - */ - This->headblock = NULL; - return This; }