Skip to content

C++ string formatting is leaking memory #28

@sylveon

Description

@sylveon

builderCpp.AppendLine($"wchar_t *buffer = new wchar_t[needed + 1];");

builderCpp.AppendLine($"wchar_t *buffer = new wchar_t[needed + 1];");

These two buffers are allocated, but never freed, leading to a memory leak

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