urlmon: Separate NULL ptr check (Coverity 924).

This commit is contained in:
Marcus Meissner 2009-05-15 09:44:34 +02:00 committed by Alexandre Julliard
parent f95324c69e
commit bbac7d9fb4
1 changed files with 4 additions and 1 deletions

View File

@ -171,7 +171,10 @@ void release_notif_hwnd(HWND hwnd)
{ {
tls_data_t *data = get_tls_data(); tls_data_t *data = get_tls_data();
if(!data || data->notif_hwnd != hwnd) { if(!data)
return;
if(data->notif_hwnd != hwnd) {
PostMessageW(data->notif_hwnd, WM_MK_RELEASE, 0, 0); PostMessageW(data->notif_hwnd, WM_MK_RELEASE, 0, 0);
return; return;
} }