diff options
Diffstat (limited to 'new/window_windows.c')
| -rw-r--r-- | new/window_windows.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/new/window_windows.c b/new/window_windows.c index ed2cea3..50e7a88 100644 --- a/new/window_windows.c +++ b/new/window_windows.c @@ -46,7 +46,7 @@ static LRESULT CALLBACK uiWindowWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPA return 0; break; // fall through to DefWindowProcW() case WM_DESTROY: -printf("destroying window; freeing uiWindow\n"); +LOGFREE(w, uiWindow) uiFree(w); break; // fall through to DefWindowProcW() } @@ -82,6 +82,7 @@ uiWindow *uiNewWindow(char *title, int width, int height) WCHAR *wtitle; w = uiNew(uiWindow); +LOGALLOC(w, uiWindow) w->onClosing = defaultOnClosing; adjust.left = 0; |
