From 0f48a696aff49450c03d5d302712aff773c169e9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 12 Nov 2015 11:50:40 -0500 Subject: Fix memory leaks --- pugl/pugl_win.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'pugl/pugl_win.cpp') diff --git a/pugl/pugl_win.cpp b/pugl/pugl_win.cpp index 251dd9b..6d4219f 100644 --- a/pugl/pugl_win.cpp +++ b/pugl/pugl_win.cpp @@ -227,6 +227,7 @@ puglDestroy(PuglView* view) ReleaseDC(view->impl->hwnd, view->impl->hdc); DestroyWindow(view->impl->hwnd); UnregisterClass(view->impl->wc.lpszClassName, NULL); + free(view->windowClass); free(view->impl); free(view); } -- cgit v1.2.1