From 9a5055af82bdd281e334513e5318c636d63f53ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Fri, 1 Apr 2022 13:55:30 +0200 Subject: Free libraries. --- c/main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'c/main.c') diff --git a/c/main.c b/c/main.c index 3f60407..5c705f0 100644 --- a/c/main.c +++ b/c/main.c @@ -281,6 +281,7 @@ SetupFonts() SystemParametersInfo(SPI_GETNONCLIENTMETRICS, sizeof(NONCLIENTMETRICS), &m, 0); HfNormal = CreateFontIndirect(&m.lfMessageFont); + FreeLibrary(hModule); } else HfNormal = GetStockObject(DEFAULT_GUI_FONT); -- cgit v1.2.3