mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
don't leak node
This commit is contained in:
@@ -239,6 +239,7 @@ parsetok(struct tok_state *tok, grammar *g, int start, perrdetail *err_ret,
|
||||
|
||||
if (c && c != '#') {
|
||||
err_ret->error = E_BADSINGLE;
|
||||
PyNode_Free(n);
|
||||
n = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user