Show More
@@ -540,11 +540,12 b' static PyObject *index_get(indexObject *' | |||
|
540 | 540 | uncomp_len, base_rev, link_rev, |
|
541 | 541 | parent_1, parent_2, c_node_id, 20); |
|
542 | 542 | |
|
543 | if (entry) | |
|
543 | if (entry) { | |
|
544 | 544 | PyObject_GC_UnTrack(entry); |
|
545 | Py_INCREF(entry); | |
|
546 | } | |
|
545 | 547 | |
|
546 | 548 | self->cache[pos] = entry; |
|
547 | Py_INCREF(entry); | |
|
548 | 549 | |
|
549 | 550 | return entry; |
|
550 | 551 | } |
General Comments 0
You need to be logged in to leave comments.
Login now