diff options
author | David Robillard <d@drobilla.net> | 2019-08-09 21:54:03 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-09-07 09:51:48 +0200 |
commit | 178e747d6b104a255854480f242c3807ac4c54e3 (patch) | |
tree | 1f401d2f5046760a7bfd0753f94158926b3f3594 | |
parent | 8b8ada4682ac5967b2fde4b7989c4b61c49c80e4 (diff) |
Windows: Fix library leak during world creation
-rw-r--r-- | pugl/detail/win.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |