Add a few missing RegCloseKey calls.

oldstable
Huw Davies 2005-01-28 11:29:53 +00:00 committed by Alexandre Julliard
parent ffc17dbe0d
commit b4ae325807
1 changed files with 2 additions and 0 deletions

View File

@ -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;