diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-03-31 02:52:29 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-03-31 02:52:29 (GMT) |
commit | 4c5be0ce09326d294ed252389fc8201fcd4390ff (patch) | |
tree | a19a868a7c57fc1e01353c076f4e4a45a0a30aa9 | |
parent | b1da0501317c6e0a6de6d1407ef94dbd936acbbe (diff) | |
download | cpython-4c5be0ce09326d294ed252389fc8201fcd4390ff.zip cpython-4c5be0ce09326d294ed252389fc8201fcd4390ff.tar.gz cpython-4c5be0ce09326d294ed252389fc8201fcd4390ff.tar.bz2 |
Fixed an error in a new assert.
-rw-r--r-- | Objects/obmalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c index e60fda4..019aa5b 100644 --- a/Objects/obmalloc.c +++ b/Objects/obmalloc.c @@ -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(); |