diff options
author | David Robillard <d@drobilla.net> | 2015-11-12 11:50:40 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-11-12 11:50:40 -0500 |
commit | 0f48a696aff49450c03d5d302712aff773c169e9 (patch) | |
tree | 60ddc66aee82503202e95a30451e1668b3ab761b /pugl/pugl_win.cpp | |
parent | db28e6c8e3dc2d148ae14b2c7bf14b63c1237cb6 (diff) | |
download | pugl-0f48a696aff49450c03d5d302712aff773c169e9.tar.gz pugl-0f48a696aff49450c03d5d302712aff773c169e9.tar.bz2 pugl-0f48a696aff49450c03d5d302712aff773c169e9.zip |
Fix memory leaks
Diffstat (limited to 'pugl/pugl_win.cpp')
-rw-r--r-- | pugl/pugl_win.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |