Skip to content

Memory leak in ub_ctx (event_base will never be freed) #99

@WolverinDEV

Description

@WolverinDEV

Hey,
the API method ub_ctx_create_event combined with ub_ctx_delete leaks some memory (24 bytes).
This is because a new event_base will be allocated via ub_libevent_event_base, but never deallocated. Even if we call ub_ctx_delete.

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