Skip to content

PyObject leaks in custom series and other places#2617

Open
v-ein wants to merge 2 commits intohoffstadt:masterfrom
v-ein:bugfix/2104-dict-setitem-leaks
Open

PyObject leaks in custom series and other places#2617
v-ein wants to merge 2 commits intohoffstadt:masterfrom
v-ein:bugfix/2104-dict-setitem-leaks

Conversation

@v-ein
Copy link
Collaborator

@v-ein v-ein commented Mar 10, 2026


name: Pull Request
about: Create a pull request to help us improve
title: PyObject leaks in custom series and other places
assignees: @hoffstadt


Description:
Closes #2104.

PyDict_SetItemString does not steal the reference to the value passed in, and we therefore must DECREF it on our own. This PR corrects all the PyDict_SetItemString calls and fixes the associated object leaks.

Concerning Areas:
None.

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.

Memory Leak Issue with Custom Series

1 participant