Fixed an error in a new assert.

This commit is contained in:
Tim Peters 2002-03-31 02:52:29 +00:00
parent b1da050131
commit 4c5be0ce09
1 changed files with 1 additions and 1 deletions

View File

@ -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();