fix some memory leaks

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3012 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2014-04-19 12:56:30 +00:00
parent f37250f17d
commit b4999bfafb
4 changed files with 17 additions and 4 deletions

View File

@@ -65,6 +65,10 @@ ElementsCollectionCache::ElementsCollectionCache(const QString &database_path, Q
Destructor
*/
ElementsCollectionCache::~ElementsCollectionCache() {
delete select_name_;
delete select_pixmap_;
delete insert_name_;
delete insert_pixmap_;
cache_db_.close();
}