diff options
Diffstat (limited to 'Parser/parsetok.c')
-rw-r--r-- | Parser/parsetok.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Parser/parsetok.c b/Parser/parsetok.c index 1fa4a12..6a96f6b 100644 --- a/Parser/parsetok.c +++ b/Parser/parsetok.c @@ -370,7 +370,6 @@ parsetok(struct tok_state *tok, grammar *g, int start, perrdetail *err_ret, type_ignores.items[i], 0); } } - growable_int_array_deallocate(&type_ignores); #ifndef PGEN /* Check that the source for a single input statement really @@ -405,6 +404,8 @@ parsetok(struct tok_state *tok, grammar *g, int start, perrdetail *err_ret, else n = NULL; + growable_int_array_deallocate(&type_ignores); + #ifdef PY_PARSER_REQUIRES_FUTURE_KEYWORD *flags = ps->p_flags; #endif |