Commit c67c5610 authored by Vladislav Sovrasov's avatar Vladislav Sovrasov

Fix memory leak in MIL tracker

parent b1cd048a
...@@ -51,7 +51,7 @@ namespace cv ...@@ -51,7 +51,7 @@ namespace cv
TrackerModel::TrackerModel() TrackerModel::TrackerModel()
{ {
stateEstimator = Ptr<TrackerStateEstimator>(); stateEstimator = Ptr<TrackerStateEstimator>();
maxCMLength = 1; maxCMLength = 10;
} }
TrackerModel::~TrackerModel() TrackerModel::~TrackerModel()
......
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