Skip to content

Possible memory leaks in fuzzy module #2977

@JAckLosingHeart

Description

@JAckLosingHeart

uchar *img_r = new uchar[output_height * output_width];

uchar *img_g = new uchar[output_height * output_width];

uchar *img_b = new uchar[output_height * output_width];

float *img_r = new float[output_height * output_width];

float *img_g = new float[output_height * output_width];

float *img_b = new float[output_height * output_width];

Looks like they are not de-allocated anywhere but I'm not sure about that.
Found this when running the opencv_test_fuzzy and reported by LeakSanitizer

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions