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
ae9c043d
Commit
ae9c043d
authored
Feb 28, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 28, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hhctrl.ocx: Release HHInfo on WM_CLOSE message.
parent
803cf4f4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
help.c
dlls/hhctrl.ocx/help.c
+6
-0
hhctrl.c
dlls/hhctrl.ocx/hhctrl.c
+0
-2
No files found.
dlls/hhctrl.ocx/help.c
View file @
ae9c043d
...
...
@@ -627,6 +627,9 @@ static LRESULT CALLBACK Help_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPA
break
;
case
WM_SIZE
:
return
Help_OnSize
(
hWnd
);
case
WM_CLOSE
:
ReleaseHelpViewer
((
HHInfo
*
)
GetWindowLongPtrW
(
hWnd
,
GWLP_USERDATA
));
return
0
;
case
WM_DESTROY
:
PostQuitMessage
(
0
);
break
;
...
...
@@ -780,6 +783,9 @@ void ReleaseHelpViewer(HHInfo *info)
ReleaseWebBrowser
(
info
);
if
(
info
->
WinType
.
hwndHelp
)
DestroyWindow
(
info
->
WinType
.
hwndHelp
);
hhctrl_free
(
info
);
OleUninitialize
();
}
...
...
dlls/hhctrl.ocx/hhctrl.c
View file @
ae9c043d
...
...
@@ -159,8 +159,6 @@ int WINAPI doWinMain(HINSTANCE hInstance, LPSTR szCmdLine)
DispatchMessageW
(
&
msg
);
}
ReleaseHelpViewer
(
info
);
return
0
;
}
...
...
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