Show More
@@ -247,7 +247,7 b' static PyObject *lmiter_iterentriesnext(' | |||||
247 | goto done; |
|
247 | goto done; | |
248 | } |
|
248 | } | |
249 | ret = PyTuple_Pack(3, path, hash, flags); |
|
249 | ret = PyTuple_Pack(3, path, hash, flags); | |
250 |
|
|
250 | done: | |
251 | Py_XDECREF(path); |
|
251 | Py_XDECREF(path); | |
252 | Py_XDECREF(hash); |
|
252 | Py_XDECREF(hash); | |
253 | Py_XDECREF(flags); |
|
253 | Py_XDECREF(flags); | |
@@ -672,7 +672,7 b' static lazymanifest *lazymanifest_copy(l' | |||||
672 | copy->pydata = self->pydata; |
|
672 | copy->pydata = self->pydata; | |
673 | Py_INCREF(copy->pydata); |
|
673 | Py_INCREF(copy->pydata); | |
674 | return copy; |
|
674 | return copy; | |
675 |
|
|
675 | nomem: | |
676 | PyErr_NoMemory(); |
|
676 | PyErr_NoMemory(); | |
677 | Py_XDECREF(copy); |
|
677 | Py_XDECREF(copy); | |
678 | return NULL; |
|
678 | return NULL; | |
@@ -724,7 +724,7 b' static lazymanifest *lazymanifest_filter' | |||||
724 | } |
|
724 | } | |
725 | copy->livelines = copy->numlines; |
|
725 | copy->livelines = copy->numlines; | |
726 | return copy; |
|
726 | return copy; | |
727 |
|
|
727 | nomem: | |
728 | PyErr_NoMemory(); |
|
728 | PyErr_NoMemory(); | |
729 | Py_XDECREF(copy); |
|
729 | Py_XDECREF(copy); | |
730 | return NULL; |
|
730 | return NULL; | |
@@ -845,7 +845,7 b' static PyObject *lazymanifest_diff(lazym' | |||||
845 | } |
|
845 | } | |
846 | Py_DECREF(emptyTup); |
|
846 | Py_DECREF(emptyTup); | |
847 | return ret; |
|
847 | return ret; | |
848 |
|
|
848 | nomem: | |
849 | PyErr_NoMemory(); |
|
849 | PyErr_NoMemory(); | |
850 | Py_XDECREF(ret); |
|
850 | Py_XDECREF(ret); | |
851 | Py_XDECREF(emptyTup); |
|
851 | Py_XDECREF(emptyTup); |
General Comments 0
You need to be logged in to leave comments.
Login now