mirror of
https://github.com/reactos/reactos.git
synced 2025-05-29 14:08:22 +00:00
[TASKMGR] GraphCtrl: Use DeleteDC instead of DeleteObject to delete inst->hdcGraph
This reduces handle leak. CORE-18014
This commit is contained in:
parent
2441e86963
commit
dc14a9f6e0
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ GraphCtrl_Dispose(PTM_GRAPH_CONTROL inst)
|
|||
DeleteObject(inst->hbmGraph);
|
||||
|
||||
if (inst->hdcGraph)
|
||||
DeleteObject(inst->hdcGraph);
|
||||
DeleteDC(inst->hdcGraph);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue