Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.12] gh-121390: tracemalloc: Fix tracebacks memory leak (GH-121391) #121393

Merged
merged 1 commit into from
Jul 5, 2024

Commits on Jul 5, 2024

  1. pythongh-121390: tracemalloc: Fix tracebacks memory leak (pythonGH-12…

    …1391)
    
    The tracemalloc_tracebacks hash table has traceback keys and NULL
    values, but its destructors do not reflect this -- key_destroy_func is
    NULL while value_destroy_func is raw_free. Swap these to free the
    traceback keys instead.
    (cherry picked from commit db39bc4)
    
    Co-authored-by: Josh Brobst <jbrobst@proton.me>
    jbrobst authored and miss-islington committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    b59f27a View commit details
    Browse the repository at this point in the history