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
6672d268
Commit
6672d268
authored
Aug 03, 2005
by
James Hawkins
Committed by
Alexandre Julliard
Aug 03, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Free the allocated command line string.
parent
1979ab3c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
help.c
dlls/hhctrl.ocx/help.c
+3
-2
No files found.
dlls/hhctrl.ocx/help.c
View file @
6672d268
...
@@ -44,7 +44,7 @@ typedef struct tagHHInfo
...
@@ -44,7 +44,7 @@ typedef struct tagHHInfo
{
{
HH_WINTYPEW
*
pHHWinType
;
HH_WINTYPEW
*
pHHWinType
;
HINSTANCE
hInstance
;
HINSTANCE
hInstance
;
LP
C
WSTR
szCmdLine
;
LPWSTR
szCmdLine
;
DWORD
dwNumTBButtons
;
DWORD
dwNumTBButtons
;
HWND
hwndTabCtrl
;
HWND
hwndTabCtrl
;
HFONT
hFont
;
HFONT
hFont
;
...
@@ -473,7 +473,7 @@ static BOOL HH_CreateViewer(HHInfo *pHHInfo)
...
@@ -473,7 +473,7 @@ static BOOL HH_CreateViewer(HHInfo *pHHInfo)
return
TRUE
;
return
TRUE
;
}
}
static
HHInfo
*
HH_OpenHH
(
HINSTANCE
hInstance
,
LP
C
WSTR
szCmdLine
)
static
HHInfo
*
HH_OpenHH
(
HINSTANCE
hInstance
,
LPWSTR
szCmdLine
)
{
{
HHInfo
*
pHHInfo
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
HHInfo
));
HHInfo
*
pHHInfo
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
HHInfo
));
...
@@ -490,6 +490,7 @@ static void HH_Close(HHInfo *pHHInfo)
...
@@ -490,6 +490,7 @@ static void HH_Close(HHInfo *pHHInfo)
return
;
return
;
HeapFree
(
GetProcessHeap
(),
0
,
pHHInfo
->
pHHWinType
);
HeapFree
(
GetProcessHeap
(),
0
,
pHHInfo
->
pHHWinType
);
HeapFree
(
GetProcessHeap
(),
0
,
pHHInfo
->
szCmdLine
);
}
}
/* FIXME: Check szCmdLine for bad arguments */
/* FIXME: Check szCmdLine for bad arguments */
...
...
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