Skip to content

memory leak #1

@hksonngan

Description

@hksonngan

please add this to function SeparableConvolve:

delete kern1;
delete kern2;

and array values in NewKernelFromImage may be like this
double *values = (double *) malloc(sizeof(double) * width );

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