Don't assume that WM_DESTROY is the last message to be received by a
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 22 Jun 2007 18:58:09 +0000 (18:58 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 22 Jun 2007 18:58:09 +0000 (18:58 +0000)
commitb3ce9032f0a19eaab43c3bbccb3bfc63635292ae
tree6b3b5aaabe7cf264e11a1d46312b6d3b56053546
parent2edfc72bab12e4f7c745184e7795b60f7b567527
Don't assume that WM_DESTROY is the last message to be received by a
window.  Since the child windows are still alive and kicking by the
time the parent receives WM_DESTROY, it's still possible to receive
other messages after WM_DESTROY.

If we free any window specific data when handling WM_DESTROY, we
should reset the window data field as well, and check if we have a
valid pointer when retrieving the window data field later.

ticket: 5584

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19627 dc483132-0cff-0310-8789-dd5450dbe970
22 files changed:
src/windows/identity/plugins/krb4/krb4configdlg.c
src/windows/identity/plugins/krb4/krb4newcreds.c
src/windows/identity/plugins/krb5/krb5configcc.c
src/windows/identity/plugins/krb5/krb5configid.c
src/windows/identity/plugins/krb5/krb5configids.c
src/windows/identity/plugins/krb5/krb5newcreds.c
src/windows/identity/sample/templates/credprov/config_id.c
src/windows/identity/sample/templates/credprov/config_ids.c
src/windows/identity/sample/templates/credprov/config_main.c
src/windows/identity/sample/templates/credprov/credacq.c
src/windows/identity/ui/cfg_appear_wnd.c
src/windows/identity/ui/cfg_general_wnd.c
src/windows/identity/ui/cfg_identities_wnd.c
src/windows/identity/ui/cfg_notif_wnd.c
src/windows/identity/ui/cfg_plugins_wnd.c
src/windows/identity/ui/configwnd.c
src/windows/identity/ui/credwnd.c
src/windows/identity/ui/htwnd.c
src/windows/identity/ui/newcredwnd.c
src/windows/identity/ui/notifier.c
src/windows/identity/ui/propertywnd.c
src/windows/identity/uilib/configui.c