summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-03-31 02:52:29 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-03-31 02:52:29 (GMT)
commit4c5be0ce09326d294ed252389fc8201fcd4390ff (patch)
treea19a868a7c57fc1e01353c076f4e4a45a0a30aa9
parentb1da0501317c6e0a6de6d1407ef94dbd936acbbe (diff)
downloadcpython-4c5be0ce09326d294ed252389fc8201fcd4390ff.zip
cpython-4c5be0ce09326d294ed252389fc8201fcd4390ff.tar.gz
cpython-4c5be0ce09326d294ed252389fc8201fcd4390ff.tar.bz2
Fixed an error in a new assert.
-rw-r--r--Objects/obmalloc.c2
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();