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
6138ba08
Commit
6138ba08
authored
Apr 29, 2002
by
Jukka Heinonen
Committed by
Alexandre Julliard
Apr 29, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
When freeing XMS memory block, return an error if block has not been
previously allocated.
parent
30678c33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
xms.c
dlls/winedos/xms.c
+5
-1
No files found.
dlls/winedos/xms.c
View file @
6138ba08
...
...
@@ -84,7 +84,11 @@ void WINAPI XMS_Handler( CONTEXT86 *context )
break
;
case
0x0a
:
/* Free Extended Memory Block */
TRACE
(
"free extended memory block %04x
\n
"
,
DX_reg
(
context
));
GlobalFree16
(
DX_reg
(
context
));
if
(
!
DX_reg
(
context
)
||
GlobalFree16
(
DX_reg
(
context
)))
{
AX_reg
(
context
)
=
0
;
/* failure */
BL_reg
(
context
)
=
0xa2
;
/* invalid handle */
}
else
AX_reg
(
context
)
=
1
;
/* success */
break
;
case
0x0b
:
/* Move Extended Memory Block */
{
...
...
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