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
4f18f4d2
Commit
4f18f4d2
authored
Dec 30, 2011
by
Pierre Schweitzer
Committed by
Alexandre Julliard
Jan 03, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taskmgr: Fix handle leaks.
parent
85e2b4d7
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
applpage.c
programs/taskmgr/applpage.c
+1
-1
perfpage.c
programs/taskmgr/perfpage.c
+1
-1
procpage.c
programs/taskmgr/procpage.c
+1
-1
No files found.
programs/taskmgr/applpage.c
View file @
4f18f4d2
...
...
@@ -891,7 +891,7 @@ ApplicationPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
UpdateApplicationListControlViewSetting
();
/* Start our refresh thread */
C
reateThread
(
NULL
,
0
,
ApplicationPageRefreshThread
,
NULL
,
0
,
NULL
);
C
loseHandle
(
CreateThread
(
NULL
,
0
,
ApplicationPageRefreshThread
,
NULL
,
0
,
NULL
)
);
return
TRUE
;
...
...
programs/taskmgr/perfpage.c
View file @
4f18f4d2
...
...
@@ -343,7 +343,7 @@ PerformancePageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
GraphCtrl_SetPlotColor
(
&
PerformancePageMemUsageHistoryGraph
,
0
,
RGB
(
255
,
255
,
0
))
;
/* Start our refresh thread */
#ifdef RUN_PERF_PAGE
C
reateThread
(
NULL
,
0
,
PerformancePageRefreshThread
,
NULL
,
0
,
NULL
);
C
loseHandle
(
CreateThread
(
NULL
,
0
,
PerformancePageRefreshThread
,
NULL
,
0
,
NULL
)
);
#endif
/*
...
...
programs/taskmgr/procpage.c
View file @
4f18f4d2
...
...
@@ -483,7 +483,7 @@ ProcessPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
OldProcessListWndProc
=
(
WNDPROC
)
SetWindowLongPtrW
(
hProcessPageListCtrl
,
GWLP_WNDPROC
,
(
LONG_PTR
)
ProcessListWndProc
);
/* Start our refresh thread */
CreateThread
(
NULL
,
0
,
ProcessPageRefreshThread
,
NULL
,
0
,
NULL
);
CloseHandle
(
CreateThread
(
NULL
,
0
,
ProcessPageRefreshThread
,
NULL
,
0
,
NULL
)
);
return
TRUE
;
...
...
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