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 /pugl/detail | |
parent | 8b8ada4682ac5967b2fde4b7989c4b61c49c80e4 (diff) | |
download | pugl-178e747d6b104a255854480f242c3807ac4c54e3.tar.gz pugl-178e747d6b104a255854480f242c3807ac4c54e3.tar.bz2 pugl-178e747d6b104a255854480f242c3807ac4c54e3.zip |
Windows: Fix library leak during world creation
Diffstat (limited to 'pugl/detail')
-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; |