|SHELL32]
authorPierre Schweitzer <pierre@reactos.org>
Sun, 5 Jun 2016 09:26:00 +0000 (09:26 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Sun, 5 Jun 2016 09:26:00 +0000 (09:26 +0000)
commit4322caeede743f67d1e45abed7fe35e237ada3b8
treeecac58acb664c292dfc973b3f22a03a2f948c107
parent326b3d7e91a686813e1ab29bfd39430cc7ac88ac
|SHELL32]
Don't blindly delete notification item while there are still ongoing user APC.
To do so, we use reference count, and attempt to release in various places: after APC ended, and on notification unregistration.
This avoids race condition with item between usage and freeing and thus use-afree-free (leading to explorer crash) while browsing rapidly accross directories.

CORE-10941 #resolve

svn path=/trunk/; revision=71528
reactos/dll/win32/shell32/wine/changenotify.c