Skip to content

Conversation

@sljlp
Copy link
Contributor

@sljlp sljlp commented Aug 31, 2021

PR types

Bug fixes

PR changes

Others

Describe

fix potential tensor leak in tensor.setitem
cherry-pick #35013

  • fix index tensor leak in setitem

  • fix another usage of PyTuple_Pack

  • refine code

  • refine code

  • handle None index

  • add Py_DecRef

  • revert ut

  • refine code

  • merge develop

  • use RAII

  • follow comments

* fix index tensor leak in __setitem__

* fix another usage of PyTuple_Pack

* refine code

* refine code

* handle None index

* add Py_DecRef

* revert ut

* refine code

* merge develop

* use RAII

* follow comments
@paddle-bot-old
Copy link

paddle-bot-old bot commented Aug 31, 2021

✅ This PR's description meets the template requirements!
Please wait for other CI results.

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@sljlp sljlp closed this Sep 1, 2021
@sljlp sljlp deleted the fix_leak branch September 5, 2021 10:50
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.

2 participants