Skip to content

memory leak #1

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 );

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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