Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix memory leak in PyRayletCient #3640

Merged
merged 1 commit into from
Dec 28, 2018

Conversation

raulchen
Copy link
Contributor

  1. if using PyObject_GetIter, the caller must call Py_DECREF to avoid memory leak. But with PyList_GetItem, Py_DECREF isn't needed.
  2. the Py_BuildValue call in wait doesn't need to increment ref count.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/10417/
Test PASSed.

@robertnishihara robertnishihara merged commit 0b682d0 into ray-project:master Dec 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants