Commit 1e1645e2 authored by Jacob Baines's avatar Jacob Baines

Mismatching new[] / delete

parent ec15d6f3
...@@ -2871,7 +2871,7 @@ void HOGDescriptor::readALTModel(std::string modelfile) ...@@ -2871,7 +2871,7 @@ void HOGDescriptor::readALTModel(std::string modelfile)
detector.push_back((float)-linearbias); detector.push_back((float)-linearbias);
setSVMDetector(detector); setSVMDetector(detector);
delete linearwt; delete [] linearwt;
} else { } else {
throw Exception(); throw Exception();
} }
......
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