Skip to content

Using of "throw new" leads to memory leak #1

@sieukrem

Description

@sieukrem

You are using throw new ExceptionClass() expression instead of throw ExceptionClass(). It will lead to memory leak if some one will catch exceptions and do work again, because C++ don't have garbage collection.

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