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
857e330e
Commit
857e330e
authored
Dec 15, 2006
by
Clinton Stimpson
Committed by
Alexandre Julliard
Dec 18, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10: Implement ScriptStringFree.
parent
b91eb5a1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
2 deletions
+33
-2
usp10.c
dlls/usp10/usp10.c
+33
-2
No files found.
dlls/usp10/usp10.c
View file @
857e330e
...
...
@@ -595,8 +595,39 @@ HRESULT WINAPI ScriptStringXtoCP(SCRIPT_STRING_ANALYSIS ssa, int iX, int* piCh,
* ScriptStringFree (USP10.@)
*
*/
HRESULT
WINAPI
ScriptStringFree
(
SCRIPT_STRING_ANALYSIS
*
pssa
)
{
FIXME
(
"(%p): stub
\n
"
,
pssa
);
HRESULT
WINAPI
ScriptStringFree
(
SCRIPT_STRING_ANALYSIS
*
pssa
)
{
StringAnalysis
*
analysis
;
BOOL
invalid
;
int
i
;
TRACE
(
"(%p)
\n
"
,
pssa
);
if
(
!
pssa
)
return
E_INVALIDARG
;
analysis
=
*
pssa
;
if
(
!
analysis
)
return
E_INVALIDARG
;
invalid
=
analysis
->
invalid
;
for
(
i
=
0
;
i
<
analysis
->
numItems
;
i
++
)
{
HeapFree
(
GetProcessHeap
(),
0
,
analysis
->
glyphs
[
i
].
glyphs
);
HeapFree
(
GetProcessHeap
(),
0
,
analysis
->
glyphs
[
i
].
pwLogClust
);
HeapFree
(
GetProcessHeap
(),
0
,
analysis
->
glyphs
[
i
].
piAdvance
);
HeapFree
(
GetProcessHeap
(),
0
,
analysis
->
glyphs
[
i
].
psva
);
HeapFree
(
GetProcessHeap
(),
0
,
analysis
->
glyphs
[
i
].
pGoffset
);
HeapFree
(
GetProcessHeap
(),
0
,
analysis
->
glyphs
[
i
].
abc
);
}
HeapFree
(
GetProcessHeap
(),
0
,
analysis
->
glyphs
);
HeapFree
(
GetProcessHeap
(),
0
,
analysis
->
pItem
);
HeapFree
(
GetProcessHeap
(),
0
,
analysis
);
if
(
invalid
)
return
E_INVALIDARG
;
return
S_OK
;
}
...
...
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