1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

Fix mem leak and mismatched new/delete

This commit is contained in:
Andy Maloney
2013-01-28 17:57:19 -05:00
parent 2b4ffd1161
commit 5bd56e7464
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -1212,6 +1212,7 @@ int maxFunctionalScore(const CvLSVMFilterObject **all_F, int n,
free(tmpPartsDisplacement[i]);
}
free(tmpPoints);
free(tmpPartsDisplacement);
free(tmpScore);
free(tmpKPoints);