Commit 19ecb07b authored by Tim Peters's avatar Tim Peters

new_arena(): In error cases, reset the number of available pools to 0.

Else the pymalloc malloc will go insane the next time it's called.
parent 540fb984
......@@ -424,6 +424,7 @@ new_arena(void)
error:
PyMem_FREE(bp);
nfreepools = 0;
return NULL;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment