Sweden-Number/dlls/msctf
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
..
tests msctf: Clear the corresponding DocumentMgr pointers for Associated Focus Windows on destruction. 2020-01-16 12:21:11 +01:00
Makefile.in
categorymgr.c
compartmentmgr.c
context.c msctf: Add ITfContextOwnerCompositionServices stub. 2019-08-16 23:44:09 +02:00
displayattributemgr.c
documentmgr.c msctf: Check TF_GetThreadMgr error in DocumentMgr_Destructor. 2019-08-27 20:23:34 +02:00
inputprocessor.c
langbarmgr.c
msctf.c
msctf.spec
msctf_classes.idl
msctf_internal.h msctf: Accept ITfInputProcessorProfileActivationSink in ThreadMgr AdviseSink. 2019-07-31 09:42:55 +02:00
range.c
threadmgr.c msctf: Clear the corresponding DocumentMgr pointers for Associated Focus Windows on destruction. 2020-01-16 12:21:11 +01:00
version.rc