mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 14:50:53 +01:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user