Show More
@@ -1351,15 +1351,7 b' static PyObject *compute_phases_map_sets' | |||
|
1351 | 1351 | goto release; |
|
1352 | 1352 | PyList_SET_ITEM(phaseslist, i, phaseval); |
|
1353 | 1353 | } |
|
1354 | ret = PyList_New(2); | |
|
1355 | if (ret == NULL) | |
|
1356 | goto release; | |
|
1357 | ||
|
1358 | PyList_SET_ITEM(ret, 0, phaseslist); | |
|
1359 | PyList_SET_ITEM(ret, 1, phasessetlist); | |
|
1360 | /* We don't release phaseslist and phasessetlist as we return them to | |
|
1361 | * python */ | |
|
1362 | goto done; | |
|
1354 | ret = PyTuple_Pack(2, phaseslist, phasessetlist); | |
|
1363 | 1355 | |
|
1364 | 1356 | release: |
|
1365 | 1357 | Py_XDECREF(phaseslist); |
General Comments 0
You need to be logged in to leave comments.
Login now