fixed memory leak

This commit is contained in:
Jens Göpfert
2019-01-07 11:52:04 +01:00
committed by Vadim Zeitlin
parent 14ca16ffaf
commit a8d89b9ced
2 changed files with 6 additions and 0 deletions

View File

@@ -325,3 +325,8 @@ void HeightCache::Clear()
}
m_heightToRowRange.clear();
}
HeightCache::~HeightCache()
{
Clear();
}