I think we've been told before that you're not supposed to
[u/mdw/putty] / window.c
index 5a36973..2b5073f 100644 (file)
--- a/window.c
+++ b/window.c
@@ -2188,7 +2188,6 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT message,
                            mi.rcMonitor.top == pt.y) {
                            mouse_on_hotspot = 1;
                        }
-                       CloseHandle(mon);
                    }
                }
 #else