From: Tim Peters Date: Sun, 31 Mar 2002 02:52:29 +0000 (+0000) Subject: Fixed an error in a new assert. X-Git-Tag: v2.3c1~6225 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4c5be0ce09326d294ed252389fc8201fcd4390ff;p=python Fixed an error in a new assert. --- diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c index e60fda42be..019aa5bf21 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();