Emilie Feral 58b56b91c4 py/qstr: Reset mpstate.qstr_last_chunk before raising an error.
The qstr_last_chunk is not collected by the garbage collector.  This relies
on the assertion that qstr_pool_t also references the qstr_last_chunk.  If
an exception is raised while allocating the qstr_pool_t, qstr_last_chunk
has to be invalidated not to become a dangling reference at the next
garbage collection.

Signed-off-by: Emilie Feral <emilie.feral@numworks.com>
2022-01-06 13:00:43 +11:00
..
2021-09-19 23:35:10 +10:00
2021-03-11 12:51:10 +11:00
2019-11-21 12:04:53 +11:00
2020-10-22 11:40:56 +02:00
2020-10-22 11:40:56 +02:00