Skip to content

Commit

Permalink
Merge pull request #751 from tijko/master
Browse files Browse the repository at this point in the history
Fixed call to Py_DECREF on possible Null object
  • Loading branch information
giampaolo committed Feb 3, 2016
2 parents 6d5a68a + ff4d04d commit 853303b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psutil/_psutil_linux.c
Expand Up @@ -364,7 +364,7 @@ psutil_proc_cpu_affinity_get(PyObject *self, PyObject *args) {

error:
Py_XDECREF(py_cpu_num);
Py_DECREF(py_retlist);
Py_XDECREF(py_retlist);
return NULL;
}
#endif
Expand Down

0 comments on commit 853303b

Please sign in to comment.