fixed inconsistent new/delete operators

pull/726/head
Vladislav Vinogradov 12 years ago
parent 3d095ccc82
commit b62cf65b91
  1. 2
      modules/objdetect/src/hog.cpp

@ -2627,7 +2627,7 @@ void HOGDescriptor::readALTModel(std::string modelfile)
detector.push_back((float)-linearbias);
setSVMDetector(detector);
delete linearwt;
delete [] linearwt;
} else {
throw Exception();
}

Loading…
Cancel
Save