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

VecView: fix memory leak of drop #465

Merged
merged 2 commits into from
May 24, 2024

Commits on May 23, 2024

  1. Fix memory leak on VecView drop

    Drop must also be implemented on `VecView` for the cases wher the `VecView` is owned
    even if it is `!Sized`.
    
    This can happen when it is boxed.
    sosthene-nitrokey committed May 23, 2024
    Configuration menu
    Copy the full SHA
    ec6700a View commit details
    Browse the repository at this point in the history
  2. Rename VecDrop to VecBuffer

    This represent more clearly the role of the trait now that it's not used
    to work around drop specialization.
    sosthene-nitrokey committed May 23, 2024
    Configuration menu
    Copy the full SHA
    fc133a9 View commit details
    Browse the repository at this point in the history