Skip to content

Possible double-free #109

@Ten0

Description

@Ten0

This commit:

YifangSun@d96bdd1#diff-79f9ddb64f1be76f0a0837f3c47b12dddaf2b4aeed5e5e12cf93d42aabaf87abR473

Seems to be fixing double-free errors.
One should probably check whether they can actually happen, and if so, fix them in this main repo.
I'm not sure this is the appropriate way to fix them though. (The proposed "fix" seems to leave a potentially invalid object with a null ptr inside. Instead, functions that disconnect should probably take ownership, to avoid re-use of a disconnected client.)

@YifangSun

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions