mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Fixed an error in a new assert.
This commit is contained in:
parent
b1da050131
commit
4c5be0ce09
1 changed files with 1 additions and 1 deletions
|
@ -693,7 +693,7 @@ _PyMalloc_Free(void *p)
|
|||
* freeblock wasn't NULL, so the pool wasn't full,
|
||||
* and the pool is in a usedpools[] list.
|
||||
*/
|
||||
assert(pool->ref.count < pool.capacity);
|
||||
assert(pool->ref.count < pool->capacity);
|
||||
if (--pool->ref.count != 0) {
|
||||
/* pool isn't empty: leave it in usedpools */
|
||||
UNLOCK();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue