Show More
@@ -983,6 +983,7 b' static int index_init(indexObject *self,' | |||
|
983 | 983 | self->ntdepth = self->ntsplits = 0; |
|
984 | 984 | self->ntlookups = self->ntmisses = 0; |
|
985 | 985 | self->ntrev = -1; |
|
986 | Py_INCREF(self->data); | |
|
986 | 987 | |
|
987 | 988 | if (self->inlined) { |
|
988 | 989 | long len = inline_scan(self, NULL); |
@@ -998,7 +999,6 b' static int index_init(indexObject *self,' | |||
|
998 | 999 | self->raw_length = size / 64; |
|
999 | 1000 | self->length = self->raw_length + 1; |
|
1000 | 1001 | } |
|
1001 | Py_INCREF(self->data); | |
|
1002 | 1002 | |
|
1003 | 1003 | return 0; |
|
1004 | 1004 | bail: |
General Comments 0
You need to be logged in to leave comments.
Login now