soc.2009.vulture: 7831e639: Don't free parent window data until afte...
gdick at soc.pidgin.im
gdick at soc.pidgin.im
Tue Jun 23 16:00:29 EDT 2009
-----------------------------------------------------------------
Revision: 7831e63942dee872ab655116e9bb7dc09c188296
Ancestor: 04019011553560bda0ce5c2d7639fdb281615920
Author: gdick at soc.pidgin.im
Date: 2009-06-23T11:32:07
Branch: im.pidgin.soc.2009.vulture
URL: http://d.pidgin.im/viewmtn/revision/info/7831e63942dee872ab655116e9bb7dc09c188296
Modified files:
vulture/vultureblist.c vulture/vultureconv.c
ChangeLog:
Don't free parent window data until after child destruction. Fixes crash at
exit.
-------------- next part --------------
============================================================
--- vulture/vultureblist.c c9868c572845ad5edd0816c93142eb8ee8b3df3f
+++ vulture/vultureblist.c daa7c0c24f7d2dc6107db8641d1bf954a8b5097e
@@ -477,7 +477,7 @@ static INT_PTR CALLBACK StatusDlgProc(HW
return TRUE;
- case WM_DESTROY:
+ case WM_NCDESTROY:
if(g_lpglistStatuses)
VulturePurpleFreeStatusList(g_lpglistStatuses);
============================================================
--- vulture/vultureconv.c 8f7019f47f555b1248cd340fa7a2ccf87f0b8260
+++ vulture/vultureconv.c 0cd659ff231db7b73c5d403abdacafd36a3da840
@@ -282,12 +282,10 @@ static LRESULT CALLBACK ConvContainerWnd
return 0;
- case WM_DESTROY:
+ case WM_NCDESTROY:
lpccd = (CONVCONTAINERDATA*)GetWindowLongPtr(hwnd, GWLP_USERDATA);
- if(lpccd->hwndTabDlg) DestroyWindow(lpccd->hwndTabDlg);
-
g_lpglistConvContainers = g_list_remove(g_lpglistConvContainers, hwnd);
ProcHeapFree(lpccd);
More information about the Commits
mailing list