diff --git a/dll/win32/shell32/wine/changenotify.c b/dll/win32/shell32/wine/changenotify.c index 05c7284a87f..1873f4a487d 100644 --- a/dll/win32/shell32/wine/changenotify.c +++ b/dll/win32/shell32/wine/changenotify.c @@ -730,6 +730,12 @@ _NotificationCompletion(DWORD dwErrorCode, // completion code return; } + if (!item) + { + ERR("item == NULL\n"); + return; + } + #endif /* This likely means overflow, so force whole directory refresh. */