diff options
author | Piotr Piastucki <leech.miranda@gmail.com> | 2015-09-26 14:49:58 +0000 |
---|---|---|
committer | Piotr Piastucki <leech.miranda@gmail.com> | 2015-09-26 14:49:58 +0000 |
commit | 42908f046513550673aeb2f61edc04b2d6c63302 (patch) | |
tree | f46dd82ccbc2b365848784d055b525eba9259017 /src/mir_app | |
parent | fc4eb4b91d5efc3afd6d20c73104321f6b6e3055 (diff) |
core/mir_app: Fixed double free of same icon in Window_FreeIcon_IcoLib
git-svn-id: http://svn.miranda-ng.org/main/trunk@15452 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/skinicons.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/skinicons.cpp b/src/mir_app/src/skinicons.cpp index 73dae4a49b..aee92f8ec3 100644 --- a/src/mir_app/src/skinicons.cpp +++ b/src/mir_app/src/skinicons.cpp @@ -202,7 +202,7 @@ MIR_APP_DLL(void) Window_SetProtoIcon_IcoLib(HWND hWnd, const char *szProto, int MIR_APP_DLL(void) Window_FreeIcon_IcoLib(HWND hWnd)
{
- IcoLib_ReleaseIcon((HICON)SendMessage(hWnd, WM_SETICON, ICON_BIG, 0));
+ IcoLib_ReleaseIcon((HICON)SendMessage(hWnd, WM_SETICON, ICON_BIG, 0), true);
IcoLib_ReleaseIcon((HICON)SendMessage(hWnd, WM_SETICON, ICON_SMALL, 0));
}
|