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
07090c24
Commit
07090c24
authored
Jan 10, 2009
by
Rob Shearman
Committed by
Alexandre Julliard
Jan 12, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl: Free allocated buffers on exit from wine_ntoskrnl_main_loop.
Avoids a warning of a memory leak in Valgrind.
parent
b3c8124a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+4
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
07090c24
...
@@ -257,7 +257,11 @@ NTSTATUS CDECL wine_ntoskrnl_main_loop( HANDLE stop_event )
...
@@ -257,7 +257,11 @@ NTSTATUS CDECL wine_ntoskrnl_main_loop( HANDLE stop_event )
break
;
break
;
case
STATUS_PENDING
:
case
STATUS_PENDING
:
if
(
WaitForMultipleObjects
(
2
,
handles
,
FALSE
,
INFINITE
)
==
WAIT_OBJECT_0
)
if
(
WaitForMultipleObjects
(
2
,
handles
,
FALSE
,
INFINITE
)
==
WAIT_OBJECT_0
)
{
HeapFree
(
GetProcessHeap
(),
0
,
in_buff
);
HeapFree
(
GetProcessHeap
(),
0
,
out_buff
);
return
STATUS_SUCCESS
;
return
STATUS_SUCCESS
;
}
break
;
break
;
}
}
}
}
...
...
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