mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Free the HMODULE handle after use
This commit is contained in:
parent
d86a333a43
commit
07e8bdd8c2
1 changed files with 2 additions and 0 deletions
|
@ -560,6 +560,8 @@ BOOL php_win32_ioutil_init(void)
|
|||
if (!canonicalize_path_w) {
|
||||
canonicalize_path_w = (MyPathCchCanonicalizeEx)MyPathCchCanonicalizeExFallback;
|
||||
}
|
||||
|
||||
FreeLibrary(hMod);
|
||||
} else {
|
||||
canonicalize_path_w = (MyPathCchCanonicalizeEx)MyPathCchCanonicalizeExFallback;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue