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
d2a3c9c2
Commit
d2a3c9c2
authored
Jul 03, 2015
by
Sebastian Lackner
Committed by
Alexandre Julliard
Jul 03, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Fix leak of threadpool object.
parent
eadd27a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
thread.c
dlls/kernel32/tests/thread.c
+3
-0
No files found.
dlls/kernel32/tests/thread.c
View file @
d2a3c9c2
...
...
@@ -86,6 +86,7 @@ static BOOL (WINAPI *pDeactivateActCtx)(DWORD,ULONG_PTR);
static
BOOL
(
WINAPI
*
pGetCurrentActCtx
)(
HANDLE
*
);
static
void
(
WINAPI
*
pReleaseActCtx
)(
HANDLE
);
static
PTP_POOL
(
WINAPI
*
pCreateThreadpool
)(
PVOID
);
static
void
(
WINAPI
*
pCloseThreadpool
)(
PTP_POOL
);
static
PTP_WORK
(
WINAPI
*
pCreateThreadpoolWork
)(
PTP_WORK_CALLBACK
,
PVOID
,
PTP_CALLBACK_ENVIRON
);
static
void
(
WINAPI
*
pSubmitThreadpoolWork
)(
PTP_WORK
);
static
void
(
WINAPI
*
pWaitForThreadpoolWorkCallbacks
)(
PTP_WORK
,
BOOL
);
...
...
@@ -1641,6 +1642,7 @@ static void test_threadpool(void)
pool
=
pCreateThreadpool
(
NULL
);
ok
(
pool
!=
NULL
,
"CreateThreadpool failed
\n
"
);
pCloseThreadpool
(
pool
);
}
static
void
test_reserved_tls
(
void
)
...
...
@@ -1705,6 +1707,7 @@ static void init_funcs(void)
X
(
ReleaseActCtx
);
X
(
CreateThreadpool
);
X
(
CloseThreadpool
);
X
(
CreateThreadpoolWork
);
X
(
SubmitThreadpoolWork
);
X
(
WaitForThreadpoolWorkCallbacks
);
...
...
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