diff options
author | George Hazan <george.hazan@gmail.com> | 2012-09-25 10:26:59 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-09-25 10:26:59 +0000 |
commit | 8b4739502257314e0eae6f72f054f5af1cdb2c10 (patch) | |
tree | f45c6e7d3676a748b5f3bce581957399ed4f69ec /plugins/Dbx_tree | |
parent | c04b71515237f66971de178e34c4228cf1d9ece2 (diff) |
- fix for memory corruption in Dbx_tree
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@1648 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_tree')
-rw-r--r-- | plugins/Dbx_tree/DatabaseLink.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dbx_tree/DatabaseLink.cpp b/plugins/Dbx_tree/DatabaseLink.cpp index 79c1758fca..cc944cc305 100644 --- a/plugins/Dbx_tree/DatabaseLink.cpp +++ b/plugins/Dbx_tree/DatabaseLink.cpp @@ -80,7 +80,7 @@ static int UnloadDatabase(MIDatabase* db) {
if (gDataBase == db)
gDataBase = NULL;
- delete db;
+ delete (CDataBase*)db;
return 0;
}
|