[Zope-Checkins] CVS: Zope2 - BucketTemplate.c:1.6.6.6
Brian Lloyd
brian@digicool.com
Fri, 30 Mar 2001 10:35:31 -0500 (EST)
Update of /cvs-repository/Zope2/lib/python/BTrees
In directory korak:/home/brian/temp/zope-23-branch/lib/python/BTrees
Modified Files:
Tag: zope-2_3-branch
BucketTemplate.c
Log Message:
Fixed Realloc bug
--- Updated File BucketTemplate.c in package Zope2 --
--- BucketTemplate.c 2001/03/21 14:13:27 1.6.6.5
+++ BucketTemplate.c 2001/03/30 15:35:30 1.6.6.6
@@ -980,7 +980,7 @@
{
UNLESS (keys=PyRealloc(self->keys, sizeof(KEY_TYPE)*len))
return -1;
- UNLESS (values=PyRealloc(self->values, sizeof(KEY_TYPE)*len))
+ UNLESS (values=PyRealloc(self->values, sizeof(VALUE_TYPE)*len))
return -1;
self->keys=keys;
self->values=values;