summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-01-05 18:20:10 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-01-05 18:20:10 +0000
commit1ec34c5a5d1888377616142f7391bf1914451e31 (patch)
tree3d1f413a7a4828eda98dad564b7f3ee15a93d188 /src
parent9e168157e76a79d6985b8eadb535121926126fe2 (diff)
fix for a crash on exit
git-svn-id: http://svn.miranda-ng.org/main/trunk@16027 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-rw-r--r--src/core/stdmsg/src/globals.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/stdmsg/src/globals.cpp b/src/core/stdmsg/src/globals.cpp
index d5731370d0..e26c8ab45a 100644
--- a/src/core/stdmsg/src/globals.cpp
+++ b/src/core/stdmsg/src/globals.cpp
@@ -45,6 +45,7 @@ static int IconsChanged(WPARAM, LPARAM)
static int OnShutdown(WPARAM, LPARAM)
{
WindowList_Destroy(g_dat.hMessageWindowList);
+ g_dat.hMessageWindowList = NULL;
return 0;
}