Fix forgotten initialization of lexerState->isReferenced

This commit is contained in:
ISSOtm
2021-02-18 16:33:06 +01:00
parent 39c179aa32
commit c29b616f93

View File

@@ -423,6 +423,7 @@ struct LexerState *lexer_OpenFile(char const *path)
close(state->fd);
state->isMmapped = true;
state->isReferenced = false; // By default, a state isn't referenced
state->ptr = mappingAddr;
state->size = fileInfo.st_size;
state->offset = 0;