fixed crash due to a decref of a borrowed reference in params array handling by lostmsu · Pull Request #1163 · pythonnet/pythonnet
Repository navigation
fixed crash due to a decref of a borrowed reference in params array handling - #1163
Merged
filmor merged 1 commit into pythonnet:master from losttech:PR/ParamsArrayRefcount Jun 18, 2020
Merged
fixed crash due to a decref of a borrowed reference in params array handling #1163 filmor merged 1 commit into pythonnet:master from losttech:PR/ParamsArrayRefcount
Conversation
lostmsu commented Jun 17, 2020
Copy link Copy Markdown
Member
What does this implement/fix? Explain your changes.
item is a return value of PyTuple_GetItem which returns borrowed reference.
Hence it should not have been decref'ed
fixed crash due to unnecessary decref of a borrowed reference in para...
d87d033
...ms array handlinglostmsu requested a review from filmor June 17, 2020 22:56 lostmsu mentioned this pull request Jun 17, 2020 Bad refcounting in HandleParamsArray (2.x backport) #1164 Closed
codecov-commenter commented Jun 17, 2020 · edited Loading
Copy link Copy Markdown
Codecov Report
@@ Coverage Diff @@ ## master #1163 +/- ## ======================================= Coverage 86.53% 86.53% ======================================= Files 1 1 Lines 297 297 ======================================= Hits 257 257 Misses 40 40
Continue to review full report at Codecov .
|
View reviewed changes
filmor merged commit
d8b0200
into
pythonnet : master
Jun 18, 2020
filmor
pushed a commit
that referenced
this pull request
Jun 18, 2020
Fixed crash due to unnecessary decref of a borrowed reference in para...
b85104b
...ms array handling (#1163)AlexCatarino pushed a commit to QuantConnect/pythonnet that referenced this pull request Jun 29, 2020
fixed crash due to unnecessary decref of a borrowed reference in para...
8126db6
...ms array handling (pythonnet#1163)Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment