Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • VTK VTK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 850
    • Issues 850
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 234
    • Merge requests 234
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTKVTK
  • VTKVTK
  • Merge requests
  • !6410

Fix memory leak for Python reference parameters

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged David Gobbi requested to merge dgobbi/vtk:17765-python-ref-leak into master Jan 23, 2020
  • Overview 6
  • Commits 1
  • Pipelines 1
  • Changes 1

The docs for PyVTKReference say that PyVTKReference_SetValue(self, o) steals the reference for 'o', but that is not how it was implemented. This commit fixes the implementation so that it matches the docs. This eliminates a reported memory leak.

Closes #17765 (closed)

Edited Jan 24, 2020 by David Gobbi
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 17765-python-ref-leak