Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ffb706ce
Commit
ffb706ce
authored
Oct 28, 2014
by
Jactry Zeng
Committed by
Alexandre Julliard
Oct 30, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Fix a leak.
parent
84d72396
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
editor.c
dlls/riched20/editor.c
+1
-1
editor.h
dlls/riched20/editor.h
+1
-0
txtsrv.c
dlls/riched20/txtsrv.c
+1
-1
No files found.
dlls/riched20/editor.c
View file @
ffb706ce
...
...
@@ -2863,7 +2863,7 @@ ME_TextEditor *ME_MakeEditor(ITextHost *texthost, BOOL bEmulateVersion10)
return
ed
;
}
static
void
ME_DestroyEditor
(
ME_TextEditor
*
editor
)
void
ME_DestroyEditor
(
ME_TextEditor
*
editor
)
{
ME_DisplayItem
*
pFirst
=
editor
->
pBuffer
->
pFirst
;
ME_DisplayItem
*
p
=
pFirst
,
*
pNext
=
NULL
;
...
...
dlls/riched20/editor.h
View file @
ffb706ce
...
...
@@ -248,6 +248,7 @@ void ME_DeleteReObject(REOBJECT* reo) DECLSPEC_HIDDEN;
/* editor.c */
ME_TextEditor
*
ME_MakeEditor
(
ITextHost
*
texthost
,
BOOL
bEmulateVersion10
)
DECLSPEC_HIDDEN
;
void
ME_DestroyEditor
(
ME_TextEditor
*
editor
)
DECLSPEC_HIDDEN
;
LRESULT
ME_HandleMessage
(
ME_TextEditor
*
editor
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
,
BOOL
unicode
,
HRESULT
*
phresult
)
DECLSPEC_HIDDEN
;
void
ME_SendOldNotify
(
ME_TextEditor
*
editor
,
int
nCode
)
DECLSPEC_HIDDEN
;
...
...
dlls/riched20/txtsrv.c
View file @
ffb706ce
...
...
@@ -108,7 +108,7 @@ static ULONG WINAPI ITextServicesImpl_Release(IUnknown *iface)
if
(
!
ref
)
{
ITextHost_Release
(
This
->
pMyHost
);
ME_DestroyEditor
(
This
->
editor
);
This
->
csTxtSrv
.
DebugInfo
->
Spare
[
0
]
=
0
;
DeleteCriticalSection
(
&
This
->
csTxtSrv
);
CoTaskMemFree
(
This
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment