Commit b62cf65b authored by Vladislav Vinogradov's avatar Vladislav Vinogradov

fixed inconsistent new/delete operators

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