Sweden-Number/dlls/msctf/tests
Gabriel Ivăncescu 6393edb714 msctf: Clear the corresponding DocumentMgr pointers for Associated Focus Windows on destruction.
Fixes a regression introduced by d541087079.

AssociateFocus does not grab ownership of the Document Manager, but it does
return it in the "prev" output parameter with an increased refcount. So,
if the docmgr gets destroyed and AssociateFocus is called again, its "prev"
parameter will refer to freed memory. Windows sets it to NULL in such case.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48469
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-16 12:21:11 +01:00
..
Makefile.in
inputprocessor.c msctf: Clear the corresponding DocumentMgr pointers for Associated Focus Windows on destruction. 2020-01-16 12:21:11 +01:00
msctf.manifest
msctf.rc