--- a/src/hugin_base/algorithms/control_points/KDTreeKeypointMatcher.h
+++ b/src/hugin_base/algorithms/control_points/KDTreeKeypointMatcher.h
@@ -52,6 +52,7 @@
 	// destructor
 	~KDTreeKeypointMatcher()
 	{
+		printf("Destructor of KDTreeKeypointMatcher called\n");
 		if (m_KDTree)
 			delete m_KDTree;
 		if (m_allPoints)