From 178e747d6b104a255854480f242c3807ac4c54e3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 9 Aug 2019 21:54:03 +0200 Subject: Windows: Fix library leak during world creation --- pugl/detail/win.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pugl/detail/win.c b/pugl/detail/win.c index 7be1363..e763495 100644 --- a/pugl/detail/win.c +++ b/pugl/detail/win.c @@ -104,6 +104,8 @@ puglInitWorldInternals(void) if (SetProcessDPIAware) { SetProcessDPIAware(); } + + FreeLibrary(user32); } LARGE_INTEGER frequency; -- cgit v1.2.1