Skip to content

Memory leak on easy and multi  #15

@ypsik

Description

@ypsik

Hello,

SafeEasyHandler is defined as
private SafeEasyHandle() : base(IntPtr.Zero, false)

So handle isnt owed by SafeHandle and ReleaseHandle will be not called.
Then CurlNative.Easy.Cleanup(handle); missed in all examples (for multi is the same ).
Or just change to
private SafeEasyHandle() : base(IntPtr.Zero, true)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions