Commit 875928b7 authored by Thiago Santini's avatar Thiago Santini

Fixes array deallocation

parent e416c3f8
......@@ -173,7 +173,7 @@ Mat PuRe::canny(const Mat &in, bool blurImage, bool useL2, int bins, float nonEd
}
low_th = lowHighThresholdRatio*high_th;
delete histogram;
delete[] histogram;
/*
* Non maximum supression
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment