--- Hi,
This code is mainly for debugging. I don't expect it to be applied, but don't object if it is.
It exposes a number of memory leaks in richedit. For example, running the richedit regression test shows leaks at:
line 248 file editor.c line 1120 file editor.c line 2230 file editor.c line 355 file string.c line 82 file undo.c line 2342 file reader.c line 2240 file editor.c line 32 file string.c line 35 file string.c line 145 file list.c
etc.
To use it, simply apply the attached patch, and run your favourite program that uses the richedit control. (Assumes you have the previous two patches I sent to wine-patches applied.)
Mike
dlls/riched20/editor.c | 33 +++++++++++++++++++ dlls/riched20/editor.h | 84 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 117 insertions(+), 0 deletions(-)