Kaydet (Commit) 7b85b4aa authored tarafından 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.
üst 1d99af8d
......@@ -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