]> granicus.if.org Git - python/commitdiff
Fixed an error in a new assert.
authorTim Peters <tim.peters@gmail.com>
Sun, 31 Mar 2002 02:52:29 +0000 (02:52 +0000)
committerTim Peters <tim.peters@gmail.com>
Sun, 31 Mar 2002 02:52:29 +0000 (02:52 +0000)
Objects/obmalloc.c

index e60fda42bec292af107dfb5b03f7950c03f57eca..019aa5bf214005b99d75de6401e1d2af2e020eb7 100644 (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();