Skip to content

infra: Potential leak of memory in conversion.cpp #1459

Closed
@battlmonstr

Description

@battlmonstr

conversion.cpp uses a bunch of naked new which is not exception-safe and results in the clang-tidy warnings of type clang-analyzer-cplusplus.NewDelete and clang-analyzer-cplusplus.NewDeleteLeaks

Those could be rewritten with unique_ptr and release().

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomersmaintenanceSome maintenance work (fix, refactor, rename, test...)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions