Commit bbac7d9f authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

urlmon: Separate NULL ptr check (Coverity 924).

parent f95324c6
...@@ -171,7 +171,10 @@ void release_notif_hwnd(HWND hwnd) ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment