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
5574b64e
Commit
5574b64e
authored
Jun 26, 2011
by
Marcus Meissner
Committed by
Alexandre Julliard
Jun 27, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
krnl386.exe16: pSeg might be NULL (Coverity).
parent
8e5c79e4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dosmem.c
dlls/krnl386.exe16/dosmem.c
+1
-1
global.c
dlls/krnl386.exe16/global.c
+1
-1
No files found.
dlls/krnl386.exe16/dosmem.c
View file @
5574b64e
...
...
@@ -480,7 +480,7 @@ LPVOID DOSMEM_AllocBlock(UINT size, UINT16* pseg)
curr
=
DOSMEM_root_block
;
if
(
!
(
psp
=
DOSVM_psp
))
psp
=
MCB_PSP_DOS
;
*
pseg
=
0
;
if
(
pseg
)
*
pseg
=
0
;
TRACE
(
"(%04xh)
\n
"
,
size
);
...
...
dlls/krnl386.exe16/global.c
View file @
5574b64e
...
...
@@ -362,7 +362,7 @@ HGLOBAL16 WINAPI GlobalReAlloc16(
newptr
=
0
;
else
{
newptr
=
DOSMEM_AllocBlock
(
size
,
0
);
newptr
=
DOSMEM_AllocBlock
(
size
,
NULL
);
if
(
newptr
)
{
memcpy
(
newptr
,
ptr
,
oldsize
);
...
...
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