diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-19 17:16:35 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-19 17:16:35 +0200 |
commit | 02765c2920a647826c68ccad8adee496c00ff239 (patch) | |
tree | a1d6832eda7d7de679680a621c28c350cffd5629 /facetracknoir | |
parent | d90cbf7c0ad8a530e6dca3fc03189ef648159d0d (diff) |
play nicer with vg
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'facetracknoir')
-rw-r--r-- | facetracknoir/tracker.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/facetracknoir/tracker.h b/facetracknoir/tracker.h index 28f8dc99..5f5ab1dc 100644 --- a/facetracknoir/tracker.h +++ b/facetracknoir/tracker.h @@ -125,6 +125,13 @@ public: axes[Pitch] = new THeadPoseDOF("ry", "ry_alt", 90, 90, 90, 90); axes[Roll] = new THeadPoseDOF("rz", "rz_alt", 180, 180, 180, 180); } + ~HeadPoseData() + { + for (int i = 0; i < 6; i++) + { + delete[] axes[i]; + } + } }; #endif |