Show More
@@ -731,16 +731,14 b' static lazymanifest *lazymanifest_filter' | |||
|
731 | 731 | arglist = Py_BuildValue(PY23("(s)", "(y)"), |
|
732 | 732 | self->lines[i].start); |
|
733 | 733 | if (!arglist) { |
|
734 | return NULL; | |
|
734 | goto bail; | |
|
735 | 735 | } |
|
736 | 736 | result = PyObject_CallObject(matchfn, arglist); |
|
737 | 737 | Py_DECREF(arglist); |
|
738 | 738 | /* if the callback raised an exception, just let it |
|
739 | 739 | * through and give up */ |
|
740 | 740 | if (!result) { |
|
741 | free(copy->lines); | |
|
742 | Py_DECREF(copy->pydata); | |
|
743 | return NULL; | |
|
741 | goto bail; | |
|
744 | 742 | } |
|
745 | 743 | if (PyObject_IsTrue(result)) { |
|
746 | 744 | assert(!(self->lines[i].from_malloc)); |
@@ -752,6 +750,7 b' static lazymanifest *lazymanifest_filter' | |||
|
752 | 750 | return copy; |
|
753 | 751 | nomem: |
|
754 | 752 | PyErr_NoMemory(); |
|
753 | bail: | |
|
755 | 754 | Py_XDECREF(copy); |
|
756 | 755 | return NULL; |
|
757 | 756 | } |
General Comments 0
You need to be logged in to leave comments.
Login now