Skip to content

Conversation

@Oppen
Copy link

@Oppen Oppen commented Jun 26, 2024

The result object already gets its count increased inside LRU_peek_*_item, so doing it twice causes a memory leak.
Should fix #64

The `result` object already gets its count increased inside `LRU_peek_*_item`, so doing it twice causes a memory leak.
@Oppen Oppen changed the title Remove incref call from LRU_popiten Remove incref call from LRU_popitem Jun 26, 2024
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.

popitem leads to memory-leak

1 participant