Kaydet (Commit) 4c5be0ce authored tarafından Tim Peters's avatar Tim Peters

Fixed an error in a new assert.

üst b1da0501
...@@ -693,7 +693,7 @@ _PyMalloc_Free(void *p) ...@@ -693,7 +693,7 @@ _PyMalloc_Free(void *p)
* freeblock wasn't NULL, so the pool wasn't full, * freeblock wasn't NULL, so the pool wasn't full,
* and the pool is in a usedpools[] list. * 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) { if (--pool->ref.count != 0) {
/* pool isn't empty: leave it in usedpools */ /* pool isn't empty: leave it in usedpools */
UNLOCK(); UNLOCK();
......
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