From 8b4739502257314e0eae6f72f054f5af1cdb2c10 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 25 Sep 2012 10:26:59 +0000 Subject: - 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 --- plugins/Dbx_tree/DatabaseLink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Dbx_tree') 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; } -- cgit v1.2.3