aboutsummaryrefslogtreecommitdiff
path: root/c/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/main.c')
-rw-r--r--c/main.c1
1 files changed, 1 insertions, 0 deletions
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);