destroy window handles when program terminates
[reactos.git] / reactos / subsys / system / msconfig / msconfig.c
index 6a3cf92..571ba5b 100644 (file)
@@ -123,6 +123,8 @@ MsConfigWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
         break;
 
     case WM_DESTROY:
+               DestroyWindow(hToolsPage);
+               DestroyWindow(hServicesPage);
         return DefWindowProc(hDlg, message, wParam, lParam);
 
     }