No need to manually delete the pointers which are managed by std::vector

This commit is contained in:
Kai Li 2014-06-17 16:56:30 +08:00
Родитель 4415f8c045
Коммит 738be6fdfc
1 изменённых файлов: 0 добавлений и 4 удалений

Просмотреть файл

@ -185,10 +185,6 @@ int feature_extraction_pipeline(int argc, char** argv) {
" query images for feature blob " << blob_names[i];
}
for (int i = 0; i < num_features; ++i) {
delete feature_batches[i];
delete feature_dbs[i];
}
LOG(ERROR)<< "Successfully extracted the features!";
return 0;
}