forked from Mirrors/wine-wine
Add a few missing RegCloseKey calls.
parent
ffc17dbe0d
commit
b4ae325807
|
@ -603,6 +603,7 @@ BOOL PSDRV_GetTrueTypeMetrics(void)
|
||||||
"use TrueType fonts please install a version of FreeType greater than\n"
|
"use TrueType fonts please install a version of FreeType greater than\n"
|
||||||
"or equal to 2.0.5.\n"
|
"or equal to 2.0.5.\n"
|
||||||
"http://www.freetype.org\n");
|
"http://www.freetype.org\n");
|
||||||
|
RegCloseKey(hkey);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -662,6 +663,7 @@ sym_not_found:
|
||||||
"font library. To enable Wine to use TrueType fonts please upgrade\n"
|
"font library. To enable Wine to use TrueType fonts please upgrade\n"
|
||||||
"FreeType to at least version 2.0.5.\n"
|
"FreeType to at least version 2.0.5.\n"
|
||||||
"http://www.freetype.org\n");
|
"http://www.freetype.org\n");
|
||||||
|
RegCloseKey(hkey);
|
||||||
wine_dlclose(ft_handle, NULL, 0);
|
wine_dlclose(ft_handle, NULL, 0);
|
||||||
ft_handle = NULL;
|
ft_handle = NULL;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in New Issue