mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
Don't free subclass stack while it's still in use
svn path=/trunk/; revision=11325
This commit is contained in:
parent
bd1f1924a0
commit
5d5362aca5
1 changed files with 1 additions and 1 deletions
|
@ -1293,7 +1293,7 @@ LRESULT WINAPI COMCTL32_SubclassProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARA
|
||||||
stack->running--;
|
stack->running--;
|
||||||
stack->stackpos = proc;
|
stack->stackpos = proc;
|
||||||
|
|
||||||
if (!stack->SubclassProcs) {
|
if (!stack->SubclassProcs && !stack->running) {
|
||||||
TRACE("Last Subclass removed, cleaning up\n");
|
TRACE("Last Subclass removed, cleaning up\n");
|
||||||
/* clean up our heap and reset the origional window procedure */
|
/* clean up our heap and reset the origional window procedure */
|
||||||
if (IsWindowUnicode (hWnd))
|
if (IsWindowUnicode (hWnd))
|
||||||
|
|
Loading…
Reference in a new issue