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
8e51ab35
Commit
8e51ab35
authored
Nov 11, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Nov 12, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Fix a memory leak in Stream_WriteLocationInfo.
parent
1a67b1f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
shelllink.c
dlls/shell32/shelllink.c
+5
-1
No files found.
dlls/shell32/shelllink.c
View file @
8e51ab35
...
...
@@ -977,6 +977,7 @@ static HRESULT Stream_WriteLocationInfo( IStream* stm, LPCWSTR path,
LOCATION_INFO
*
loc
;
LPSTR
szLabel
,
szPath
,
szFinalPath
;
ULONG
count
=
0
;
HRESULT
hr
;
TRACE
(
"%p %s %p
\n
"
,
stm
,
debugstr_w
(
path
),
volume
);
...
...
@@ -1018,7 +1019,10 @@ static HRESULT Stream_WriteLocationInfo( IStream* stm, LPCWSTR path,
szPath
,
path_size
,
NULL
,
NULL
);
szFinalPath
[
0
]
=
0
;
return
IStream_Write
(
stm
,
loc
,
total_size
,
&
count
);
hr
=
IStream_Write
(
stm
,
loc
,
total_size
,
&
count
);
HeapFree
(
GetProcessHeap
(),
0
,
loc
);
return
hr
;
}
static
EXP_DARWIN_LINK
*
shelllink_build_darwinid
(
LPCWSTR
string
,
DWORD
magic
)
...
...
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