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
38cae0b2
Commit
38cae0b2
authored
May 10, 2008
by
Michael Stefaniuc
Committed by
Alexandre Julliard
May 12, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Plug memory leak introduced in 1.0-rc1 (Smatch).
parent
c83a63d4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
factory.c
dlls/shdocvw/factory.c
+5
-2
No files found.
dlls/shdocvw/factory.c
View file @
38cae0b2
...
...
@@ -293,6 +293,7 @@ static BOOL check_native_ie(void)
{
static
const
WCHAR
cszPath
[]
=
{
'b'
,
'r'
,
'o'
,
'w'
,
's'
,
'e'
,
'u'
,
'i'
,
'.'
,
'd'
,
'l'
,
'l'
,
0
};
DWORD
handle
,
size
;
BOOL
ret
=
TRUE
;
size
=
GetFileVersionInfoSizeW
(
cszPath
,
&
handle
);
if
(
size
)
...
...
@@ -308,10 +309,12 @@ static BOOL check_native_ie(void)
if
(
VerQueryValueW
(
buf
,
cszFD
,
(
LPVOID
*
)
&
lpFileDescription
,
&
dwBytes
)
&&
strstrW
(
lpFileDescription
,
cszWine
))
return
FALSE
;
ret
=
FALSE
;
HeapFree
(
GetProcessHeap
(),
0
,
buf
);
}
return
TRUE
;
return
ret
;
}
DWORD
register_iexplore
(
BOOL
doregister
)
...
...
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