File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -156,7 +156,6 @@ PyObject *igraphmodule__union(PyObject *self,
156156 if (!dest || PyList_SetItem (emi , j , dest )) {
157157 igraph_vector_ptr_destroy (& gs );
158158 igraph_vector_int_list_destroy (& edgemaps );
159- Py_XDECREF (dest );
160159 Py_DECREF (emi );
161160 Py_DECREF (em_list );
162161 return NULL ;
@@ -167,7 +166,6 @@ PyObject *igraphmodule__union(PyObject *self,
167166 if (!emi || PyList_SetItem (em_list , i , emi )) {
168167 igraph_vector_ptr_destroy (& gs );
169168 igraph_vector_int_list_destroy (& edgemaps );
170- Py_XDECREF (emi );
171169 Py_DECREF (em_list );
172170 return NULL ;
173171 }
@@ -281,7 +279,6 @@ PyObject *igraphmodule__intersection(PyObject *self,
281279 if (!dest || PyList_SetItem (emi , j , dest )) {
282280 igraph_vector_ptr_destroy (& gs );
283281 igraph_vector_int_list_destroy (& edgemaps );
284- Py_XDECREF (dest );
285282 Py_DECREF (emi );
286283 Py_DECREF (em_list );
287284 return NULL ;
@@ -292,7 +289,6 @@ PyObject *igraphmodule__intersection(PyObject *self,
292289 if (!emi || PyList_SetItem (em_list , i , emi )) {
293290 igraph_vector_ptr_destroy (& gs );
294291 igraph_vector_int_list_destroy (& edgemaps );
295- Py_XDECREF (emi );
296292 Py_DECREF (em_list );
297293 return NULL ;
298294 }
You can’t perform that action at this time.
0 commit comments