mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
Missed resource cleanup. I'm clearly out of practice
svn path=/trunk/; revision=44489
This commit is contained in:
parent
3a03a5662b
commit
0cbf682dc2
1 changed files with 4 additions and 2 deletions
|
@ -42,6 +42,8 @@ OnOK(HWND hwndDlg)
|
|||
REG_DWORD,
|
||||
(LPBYTE)&ReportAsWorkstation,
|
||||
sizeof(DWORD));
|
||||
|
||||
RegCloseKey(hKey);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -76,9 +78,9 @@ OnInitSysSettingsDialog(HWND hwndDlg)
|
|||
0);
|
||||
}
|
||||
}
|
||||
|
||||
RegCloseKey(hKey);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
INT_PTR CALLBACK
|
||||
|
|
Loading…
Reference in a new issue