mirror of
https://github.com/micropython/micropython.git
synced 2026-01-08 05:00:26 +01:00
gc: reserve first block; lexer: free vstr.
This commit is contained in:
@@ -635,6 +635,7 @@ void py_lexer_free(py_lexer_t *lex) {
|
||||
if (lex->stream_close) {
|
||||
lex->stream_close(lex->stream_data);
|
||||
}
|
||||
vstr_clear(&lex->vstr);
|
||||
m_free(lex);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user