projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94322ba
)
[VIDEOPRT]
author
Cameron Gutman
<aicommander@gmail.com>
Sat, 17 Dec 2011 09:18:24 +0000
(09:18 +0000)
committer
Cameron Gutman
<aicommander@gmail.com>
Sat, 17 Dec 2011 09:18:24 +0000
(09:18 +0000)
- "RegionSize must be zero" doesn't mean literally pass 0 for the region size...
svn path=/trunk/; revision=54670
reactos/drivers/video/videoprt/int10.c
patch
|
blob
|
history
diff --git
a/reactos/drivers/video/videoprt/int10.c
b/reactos/drivers/video/videoprt/int10.c
index
36c14dc
..
193607d
100644
(file)
--- a/
reactos/drivers/video/videoprt/int10.c
+++ b/
reactos/drivers/video/videoprt/int10.c
@@
-82,13
+82,14
@@
IntInt10FreeBuffer(
NTSTATUS Status;
PKPROCESS CallingProcess = (PKPROCESS)PsGetCurrentProcess();
KAPC_STATE ApcState;
+ SIZE_T Size = 0;
TRACE_(VIDEOPRT, "IntInt10FreeBuffer\n");
INFO_(VIDEOPRT, "- Segment: %x\n", Seg);
INFO_(VIDEOPRT, "- Offset: %x\n", Off);
IntAttachToCSRSS(&CallingProcess, &ApcState);
- Status = ZwFreeVirtualMemory(NtCurrentProcess(), &MemoryAddress,
0
,
+ Status = ZwFreeVirtualMemory(NtCurrentProcess(), &MemoryAddress,
&Size
,
MEM_RELEASE);
IntDetachFromCSRSS(&CallingProcess, &ApcState);