Cosmetics.
authorFrancois Fleuret <francois@fleuret.org>
Sat, 24 Aug 2013 08:15:35 +0000 (10:15 +0200)
committerFrancois Fleuret <francois@fleuret.org>
Sat, 24 Aug 2013 08:15:35 +0000 (10:15 +0200)
mtp_tracker.cc

index b956f2c..8cc4517 100644 (file)
@@ -168,12 +168,7 @@ MTPTracker::MTPTracker() {
 }
 
 MTPTracker::~MTPTracker() {
-  delete[] _edge_lengths;
-  delete _graph;
-  deallocate_array<scalar_t>(detection_scores);
-  deallocate_array<int>(allowed_motions);
-  deallocate_array<int>(entrances);
-  deallocate_array<int>(exits);
+  free();
 }
 
 int MTPTracker::early_pair_node(int t, int l) {