summaryrefslogtreecommitdiff
path: root/win32/time.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2018-06-11 13:49:42 +0200
committerAnatol Belski <ab@php.net>2018-06-11 13:49:42 +0200
commit7dcfa839c935096706d257d2bf8f9940b78b2903 (patch)
treeccc5b58b3b1c33e6e9c726f9ad752fb3313700cc /win32/time.c
parent3d7284d09e5d133179552998d1275fb5b1bf6c53 (diff)
downloadphp-git-7dcfa839c935096706d257d2bf8f9940b78b2903.tar.gz
Remove inappropriate FreeLibrary call
Diffstat (limited to 'win32/time.c')
-rw-r--r--win32/time.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/win32/time.c b/win32/time.c
index 58f4230c50..f5c8ff5683 100644
--- a/win32/time.c
+++ b/win32/time.c
@@ -38,9 +38,6 @@ static zend_always_inline MyGetSystemTimeAsFileTime get_time_func(void)
if (hMod) {
/* Max possible resolution <1us, win8/server2012 */
timefunc = (MyGetSystemTimeAsFileTime)GetProcAddress(hMod, "GetSystemTimePreciseAsFileTime");
-
- /* Lower the refcount */
- FreeLibrary(hMod);
}
if(!timefunc) {