Mailing List Archive

CVS: python/dist/src/Objects obmalloc.c,2.22,2.23
Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv10271/python/Objects

Modified Files:
obmalloc.c
Log Message:
Fixed an error in a new assert.


Index: obmalloc.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/obmalloc.c,v
retrieving revision 2.22
retrieving revision 2.23
diff -C2 -d -r2.22 -r2.23
*** obmalloc.c 31 Mar 2002 02:51:40 -0000 2.22
--- obmalloc.c 31 Mar 2002 02:52:29 -0000 2.23
***************
*** 694,698 ****
* and the pool is in a usedpools[] list.
*/
! assert(pool->ref.count < pool.capacity);
if (--pool->ref.count != 0) {
/* pool isn't empty: leave it in usedpools */
--- 694,698 ----
* and the pool is in a usedpools[] list.
*/
! assert(pool->ref.count < pool->capacity);
if (--pool->ref.count != 0) {
/* pool isn't empty: leave it in usedpools */