Missed resource cleanup. I'm clearly out of practice

svn path=/trunk/; revision=44489
This commit is contained in:
Ged Murphy 2009-12-09 16:44:10 +00:00
parent 3a03a5662b
commit 0cbf682dc2

View file

@ -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