aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-08-09 21:54:03 +0200
committerDavid Robillard <d@drobilla.net>2019-09-07 09:51:48 +0200
commit178e747d6b104a255854480f242c3807ac4c54e3 (patch)
tree1f401d2f5046760a7bfd0753f94158926b3f3594
parent8b8ada4682ac5967b2fde4b7989c4b61c49c80e4 (diff)
downloadpugl-178e747d6b104a255854480f242c3807ac4c54e3.tar.gz
pugl-178e747d6b104a255854480f242c3807ac4c54e3.tar.bz2
pugl-178e747d6b104a255854480f242c3807ac4c54e3.zip
Windows: Fix library leak during world creation
-rw-r--r--pugl/detail/win.c2
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;