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
bce23d7e
Commit
bce23d7e
authored
Jul 21, 2008
by
Huw Davies
Committed by
Alexandre Julliard
Jul 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Don't access pConv after it's been freed.
parent
9c29dbd9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
dde_misc.c
dlls/user32/dde_misc.c
+2
-1
No files found.
dlls/user32/dde_misc.c
View file @
bce23d7e
...
...
@@ -1658,9 +1658,10 @@ void WDML_RemoveServer(WDML_INSTANCE* pInstance, HSZ hszService, HSZ hszTopic)
pConvNext
=
pConv
->
next
;
if
(
DdeCmpStringHandles
(
pConv
->
hszService
,
hszService
)
==
0
)
{
HWND
client
=
pConv
->
hwndClient
,
server
=
pConv
->
hwndServer
;
WDML_RemoveConv
(
pConv
,
WDML_SERVER_SIDE
);
/* don't care about return code (whether client window is present or not) */
PostMessageW
(
pConv
->
hwndClient
,
WM_DDE_TERMINATE
,
(
WPARAM
)
pConv
->
hwndS
erver
,
0
);
PostMessageW
(
client
,
WM_DDE_TERMINATE
,
(
WPARAM
)
s
erver
,
0
);
}
}
if
(
pServer
==
pInstance
->
servers
)
...
...
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