summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-19 17:11:21 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-10-19 17:11:21 +0200
commitd90cbf7c0ad8a530e6dca3fc03189ef648159d0d (patch)
tree76296452b6c90fa37bd528035ded98eeaf1d8587 /facetracknoir
parent79697936ef3ce7f0bbd1965931cdfb4b2c4c9f5b (diff)
play nice with valgrind
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'facetracknoir')
-rw-r--r--facetracknoir/facetracknoir.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/facetracknoir/facetracknoir.cpp b/facetracknoir/facetracknoir.cpp
index b5ccfdff..8786ed38 100644
--- a/facetracknoir/facetracknoir.cpp
+++ b/facetracknoir/facetracknoir.cpp
@@ -195,6 +195,8 @@ FaceTrackNoIR::~FaceTrackNoIR() {
//
stopTracker();
save();
+ if (Libraries)
+ delete Libraries;
}
//