Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
2229472d
Commit
2229472d
authored
Apr 03, 2003
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Apr 03, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some missing HeapFree's and one missing free.
parent
c0a5823f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
1 deletion
+7
-1
cabextract.c
dlls/cabinet/cabextract.c
+3
-1
dplobby.c
dlls/dplayx/dplobby.c
+1
-0
console.c
dlls/kernel/console.c
+1
-0
psapi_main.c
dlls/psapi/psapi_main.c
+2
-0
No files found.
dlls/cabinet/cabextract.c
View file @
2229472d
...
...
@@ -505,8 +505,10 @@ BOOL cabinet_read_entries(struct cabinet *cab)
file
->
attribs
=
EndGetI16
(
buf
+
cffile_Attribs
);
file
->
filename
=
cabinet_read_string
(
cab
);
if
(
!
file
->
filename
)
if
(
!
file
->
filename
)
{
free
(
file
);
return
FALSE
;
}
if
(
!
linkfile
)
cab
->
files
=
file
;
...
...
dlls/dplayx/dplobby.c
View file @
2229472d
...
...
@@ -529,6 +529,7 @@ static HRESULT WINAPI DPL_ConnectEx
0
,
lpConn
,
&
dwConnSize
);
if
(
FAILED
(
hr
)
)
{
HeapFree
(
GetProcessHeap
(),
0
,
lpConn
);
return
hr
;
}
...
...
dlls/kernel/console.c
View file @
2229472d
...
...
@@ -749,6 +749,7 @@ DWORD WINAPI GetConsoleTitleA(LPSTR title, DWORD size)
WideCharToMultiByte
(
GetConsoleOutputCP
(),
0
,
ptr
,
ret
+
1
,
title
,
size
,
NULL
,
NULL
);
ret
=
strlen
(
title
);
}
HeapFree
(
GetProcessHeap
(),
0
,
ptr
);
return
ret
;
}
...
...
dlls/psapi/psapi_main.c
View file @
2229472d
...
...
@@ -330,6 +330,7 @@ DWORD WINAPI GetModuleBaseNameW(HANDLE hProcess, HMODULE hModule,
lpBaseName
[
nSize
/
2
-
1
]
=
0
;
}
HeapFree
(
GetProcessHeap
(),
0
,
ptr
);
return
len
;
}
...
...
@@ -400,6 +401,7 @@ DWORD WINAPI GetModuleFileNameExW(HANDLE hProcess, HMODULE hModule,
lpFileName
[
nSize
/
2
-
1
]
=
0
;
}
HeapFree
(
GetProcessHeap
(),
0
,
ptr
);
return
len
;
}
...
...
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