Marcus Meissner : urlmon: Separate NULL ptr check (Coverity 924).
Alexandre Julliard
julliard at winehq.org
Fri May 15 07:47:02 CDT 2009
Module: wine
Branch: master
Commit: bbac7d9fb43bdb57b3a4c9d8b37ed8ba793023a3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=bbac7d9fb43bdb57b3a4c9d8b37ed8ba793023a3
Author: Marcus Meissner <marcus at jet.franken.de>
Date: Fri May 15 09:44:34 2009 +0200
urlmon: Separate NULL ptr check (Coverity 924).
---
dlls/urlmon/bindprot.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/dlls/urlmon/bindprot.c b/dlls/urlmon/bindprot.c
index d431095..7231ae6 100644
--- a/dlls/urlmon/bindprot.c
+++ b/dlls/urlmon/bindprot.c
@@ -171,7 +171,10 @@ void release_notif_hwnd(HWND hwnd)
{
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);
return;
}
More information about the wine-cvs
mailing list